From: Armin Wolf <W_Armin@xxxxxx> 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