commit | cb85ca332f4d72ca68464c55f63af0387f6bbdb1 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <l.majewski@samsung.com> | Thu Feb 26 14:59:35 2015 +0100 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Mar 09 09:59:36 2015 -0700 |
tree | 1deaaab9338faebcaf9f920cd8021724ac202485 | |
parent | 73ef85f42da2df8b567fea109c67ed53db937bcc [diff] |
hwmon: (pwm-fan) Extract __set_pwm() function to only modify PWM duty cycle 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>