diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2015-02-26 14:59:35 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-03-09 17:59:36 +0100 |
commit | cb85ca332f4d72ca68464c55f63af0387f6bbdb1 (patch) | |
tree | 1deaaab9338faebcaf9f920cd8021724ac202485 /drivers/phy | |
parent | hwmon: (gpio-fan) allow to use alarm support alone from DT (diff) | |
download | linux-cb85ca332f4d72ca68464c55f63af0387f6bbdb1.tar.xz linux-cb85ca332f4d72ca68464c55f63af0387f6bbdb1.zip |
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>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions