Loading drivers/hwmon/max6650.c +4 −5 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ module_param(clock, int, 0444); struct max6650_data { struct i2c_client *client; struct mutex update_lock; struct mutex update_lock; /* protect alarm register updates */ int nr_fans; bool valid; /* false until following fields are valid */ unsigned long last_updated; /* in jiffies */ Loading Loading @@ -500,7 +500,6 @@ static int max6650_set_cur_state(struct thermal_cooling_device *cdev, data->dac = pwm_to_dac(state, data->config & MAX6650_CFG_V12); err = i2c_smbus_write_byte_data(client, MAX6650_REG_DAC, data->dac); if (!err) { max6650_set_operating_mode(data, state ? MAX6650_CFG_MODE_OPEN_LOOP : Loading Loading
drivers/hwmon/max6650.c +4 −5 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ module_param(clock, int, 0444); struct max6650_data { struct i2c_client *client; struct mutex update_lock; struct mutex update_lock; /* protect alarm register updates */ int nr_fans; bool valid; /* false until following fields are valid */ unsigned long last_updated; /* in jiffies */ Loading Loading @@ -500,7 +500,6 @@ static int max6650_set_cur_state(struct thermal_cooling_device *cdev, data->dac = pwm_to_dac(state, data->config & MAX6650_CFG_V12); err = i2c_smbus_write_byte_data(client, MAX6650_REG_DAC, data->dac); if (!err) { max6650_set_operating_mode(data, state ? MAX6650_CFG_MODE_OPEN_LOOP : Loading