hwmon: Support guard() and scoped_guard for subsystem locks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hwmon: Support guard() and scoped_guard for subsystem locksDocumentation/ include/ | +6 | 0 replies | |
| 2/4 | hwmon: (lm90) Use guard() to acquire subsystem lockdrivers/ | +2 | 0 replies | |
| 3/4 | hwmon: (ina2xx) Use scoped_guard() to acquire the subsystem lockdrivers/ | +5 | 0 replies | |
| 4/4 | hwmon: (adt7411) Use scoped_guard() to acquire the subsystem lockdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] hwmon: Support guard() and scoped_guard for subsystem locks
Add support for guard() and scoped_guard() for the hwmon subsystem lock to simplify its use, and convert existing drivers to use the new functions.
----------------------------------------------------------------
Guenter Roeck (4):
hwmon: Support guard() and scoped_guard for subsystem locks
hwmon: (lm90) Use guard() to acquire subsystem lock
hwmon: (ina2xx) Use scoped_guard() to acquire the subsystem lock
hwmon: (adt7411) Use scoped_guard() to acquire the subsystem lock
Documentation/hwmon/hwmon-kernel-api.rst | 7 ++++--- drivers/hwmon/adt7411.c | 10 +++++----- drivers/hwmon/ina2xx.c | 10 +++++----- drivers/hwmon/lm90.c | 9 ++------- include/linux/hwmon.h | 2 ++ 5 files changed, 18 insertions(+), 20 deletions(-)