Skip to content

hwmon: (sch5627) Replace hwmon_device_register()

[email protected] linux-hwmon 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2hwmon: (sch5627) Convert to hwmon_device_register_with_info()drivers/hwmon/sch5627.c+111 -2320 replies
2/2hwmon: (sch5627) Split sch5627_update_device()drivers/hwmon/sch5627.c+69 -331 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de Goede
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register()

From: Armin Wolf <[email protected]>

When the sch5627 driver is loaded, a warning is displayed during bootup about hwmon_device_register() being deprecated.

The first patch solves that issue, and the second patch adds a minor optimization when reading sensor data.

Both patches have been tested on a Fujitsu Esprimo P720 and appear to work without issues.

Armin Wolf (2):
hwmon: (sch5627) Convert to hwmon_device_register_with_info()
hwmon: (sch5627) Split sch5627_update_device()

 drivers/hwmon/sch5627.c | 445 ++++++++++++++++------------------------
 1 file changed, 180 insertions(+), 265 deletions(-)

--
2.20.1