[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1550843124-10992-1-git-send-email-stefan.wahren@i2se.com>
Date: Fri, 22 Feb 2019 14:45:22 +0100
From: Stefan Wahren <stefan.wahren@...e.com>
To: Kamil Debski <kamil@...as.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Cc: linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Stefan Wahren <stefan.wahren@...e.com>
Subject: [PATCH V3 0/2] hwmon: pwm-fan: Add optional regulator support
This small series implements the optional regulator support for the
pwm-fan driver.
Changes in V3:
- simplify error case in probing code
- return regulator error code in pm callbacks
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 | 43 +++++++++++++++++++++-
2 files changed, 45 insertions(+), 1 deletion(-)
--
2.7.4
Powered by blists - more mailing lists