public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register()
@ 2021-04-11 16:42 W_Armin
  2021-04-11 16:42 ` [PATCH 1/2] hwmon: (sch5627) Convert to hwmon_device_register_with_info() W_Armin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: W_Armin @ 2021-04-11 16:42 UTC (permalink / raw)
  To: hdegoede; +Cc: linux-hwmon, Armin Wolf

From: Armin Wolf <W_Armin@gmx.de>

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-13 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-11 16:42 [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register() W_Armin
2021-04-11 16:42 ` [PATCH 1/2] hwmon: (sch5627) Convert to hwmon_device_register_with_info() W_Armin
2021-04-11 16:42 ` [PATCH 2/2] hwmon: (sch5627) Split sch5627_update_device() W_Armin
2021-04-13 16:39   ` Guenter Roeck
2021-04-13  8:11 ` [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register() Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox