hwmon: (sch56xx) Use devres for watchdog and platform_device_register_simple()
Status from this message: Applied, with cosmetic change.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 5 repliesApplied
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- drop sch5627_remove()
- make sch56xx_watchdog_register() return void
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hwmon: (sch56xx) Use devres functions for watchdogdrivers/ drivers/ drivers/ +1 more | +17 | 1 reply | |
| 2/4 | hwmon: (sch56xx-common) Use strscpydrivers/ | +1 | 1 reply | |
| 3/4 | hwmon: (sch56xx-common) Use helper functiondrivers/ | +3 | 1 reply | |
| 4/4 | hwmon: (sch56xx-common) Simplify sch56xx_device_adddrivers/ | +4 | 1 reply |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hans de Goede |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] hwmon: (sch56xx) Use devres for watchdog and platform_device_register_simple()
From: Armin Wolf <[email protected]>
Since it was requested to use devres for the watchdog device, use devm_watchdog_register() for watchdog registration and do some small cleanups.
Also use platform_device_register_simple() in sch56xx_device_add().
Tested on a Fujitsu Esprimo P720.
v2:
- drop sch5627_remove()
- make sch56xx_watchdog_register() return void
Armin Wolf (4):
hwmon: (sch56xx) Use devres functions for watchdog
hwmon: (sch56xx-common) Use strscpy
hwmon: (sch56xx-common) Use helper function
hwmon: (sch56xx-common) Simplify sch56xx_device_add
drivers/hwmon/sch5627.c | 18 ++-------- drivers/hwmon/sch5636.c | 9 ++--- drivers/hwmon/sch56xx-common.c | 65 ++++++++++------------------------ drivers/hwmon/sch56xx-common.h | 4 +-- 4 files changed, 25 insertions(+), 71 deletions(-)
--
2.20.1