hwmon: Add and use helper hwmon_visible_0444
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | hwmon: Add helper hwmon_visible_0444drivers/ include/ | +9 | 0 replies | |
| 2/9 | hwmon: i5500_temp: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 3/9 | hwmon: surface_fan: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 4/9 | hwmon: sl28cpld: Use new helper hwmon_visible_0444drivers/ | +1 | 1 reply | |
| 5/9 | hwmon: gsc: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 6/9 | hwmon: powerz: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 7/9 | hwmon: raspberrypi: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 8/9 | hwmon: intel-m10-bmc: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies | |
| 9/9 | hwmon: nzxt-kraken2: Use new helper hwmon_visible_0444drivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Michael Walle |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | R-b |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] hwmon: Add and use helper hwmon_visible_0444
Several drivers simply return 0444 in their is_visible callback. Add a helper in hwmon core for this use case to avoid code duplication.
There are more drivers outside drivers/hwmon which would benefit from this helper as well.
Heiner Kallweit (9):
hwmon: Add helper hwmon_visible_0444
hwmon: i5500_temp: Use new helper hwmon_visible_0444
hwmon: surface_fan: Use new helper hwmon_visible_0444
hwmon: sl28cpld: Use new helper hwmon_visible_0444
hwmon: gsc: Use new helper hwmon_visible_0444
hwmon: powerz: Use new helper hwmon_visible_0444
hwmon: raspberrypi: Use new helper hwmon_visible_0444
hwmon: intel-m10-bmc: Use new helper hwmon_visible_0444
hwmon: nzxt-kraken2: Use new helper hwmon_visible_0444
drivers/hwmon/gsc-hwmon.c | 9 +-------- drivers/hwmon/hwmon.c | 7 +++++++ drivers/hwmon/i5500_temp.c | 8 +------- drivers/hwmon/intel-m10-bmc-hwmon.c | 9 +-------- drivers/hwmon/nzxt-kraken2.c | 9 +-------- drivers/hwmon/powerz.c | 8 +------- drivers/hwmon/raspberrypi-hwmon.c | 8 +------- drivers/hwmon/sl28cpld-hwmon.c | 9 +-------- drivers/hwmon/surface_fan.c | 10 +--------- include/linux/hwmon.h | 2 ++ 10 files changed, 17 insertions(+), 62 deletions(-)
Signature · 1 line
2.47.0