Loading drivers/hwmon/nct6775-core.c +0 −7 Original line number Diff line number Diff line Loading @@ -2482,13 +2482,6 @@ store_pwm_mode(struct device *dev, struct device_attribute *attr, int err; u16 reg; /* * The fan control mode should be set to manual if the user wants to adjust * the fan speed. Otherwise, it will fail to set. */ if (index == 0 && data->pwm_enable[nr] > manual) return -EBUSY; err = kstrtoul(buf, 10, &val); if (err < 0) return err; Loading Loading
drivers/hwmon/nct6775-core.c +0 −7 Original line number Diff line number Diff line Loading @@ -2482,13 +2482,6 @@ store_pwm_mode(struct device *dev, struct device_attribute *attr, int err; u16 reg; /* * The fan control mode should be set to manual if the user wants to adjust * the fan speed. Otherwise, it will fail to set. */ if (index == 0 && data->pwm_enable[nr] > manual) return -EBUSY; err = kstrtoul(buf, 10, &val); if (err < 0) return err; Loading