int lm85_write_value(struct i2c_client *client, u8 reg, int value) 
static int lm85_write_value(struct i2c_client *client, u8 reg, int value) 
int lm85_write_value(struct i2c_client *client, u8 reg, int value){	int res ;	switch( reg ) {	case LM85_REG_FAN(0) :  /* Write WORD data */	case LM85_REG_FAN(1) :	case LM85_REG_FAN(2) :	case LM85_REG_FAN(3) :	case LM85_REG_FAN_MIN(0) :	case LM85_REG_FAN_MIN(1) :	case LM85_REG_FAN_MIN(2) :	case LM85_REG_FAN_MIN(3) :	/* NOTE: ALARM is read only, so not included here */		res = i2c_smbus_write_byte_data(client, reg, value & 0xff) ;		res |= i2c_smbus_write_byte_data(client, reg+1, (value>>8) & 0xff) ;		break ;	case ADT7463_REG_TMIN_CTL1 :  /* Write WORD MSB, LSB */		res = i2c_smbus_write_byte_data(client, reg, (value>>8) & 0xff);		res |= i2c_smbus_write_byte_data(client, reg+1, value & 0xff) ;		break ;	default:	/* Write BYTE data */		res = i2c_smbus_write_byte_data(client, reg, value);		break ;	}	return res ;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/d8d2061590c87c20bf78133461bc74df78803ecb/lm85.c/buggy/drivers/hwmon/lm85.c