+21
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>