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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux