lkml.org 
[lkml]   [2019]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V2 0/2] hwmon: pwm-fan: Add optional regulator support
Date
This small series implements the optional regulator support for the
pwm-fan driver.

Changes in V2:
- address Guenter's comments:
- handle error case first
- drop ENOSYS handling
- implement more consistent bail out handling
- enable regulator before setup PWM
- make sure we disable regulator if probe fails

Stefan Wahren (2):
dt-bindings: hwmon: Add optional regulator support to pwm-fan
hwmon: pwm-fan: Add optional regulator support

.../devicetree/bindings/hwmon/pwm-fan.txt | 3 ++
drivers/hwmon/pwm-fan.c | 39 +++++++++++++++++++++-
2 files changed, 41 insertions(+), 1 deletion(-)

--
2.7.4

\
 
 \ /
  Last update: 2019-02-07 17:40    [W:0.695 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site