hwmon: (pwm-fan) Extract __set_pwm() function to only modify PWM duty cycle
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 26 Feb 2015 13:59:35 +0000 (14:59 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 9 Mar 2015 16:59:36 +0000 (09:59 -0700)
It was necessary to decouple code handling writing to sysfs from the one
responsible for setting PWM of the fan.
Due to that, new __set_pwm() method was extracted, which is responsible for
only setting new PWM duty cycle.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found