mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: acpi_power_meter: convert to new hwmon API
@ 2022-05-04 10:30 Corentin Labbe
  2022-05-04 10:30 ` [PATCH v2 1/2] hwmon: acpi_power_meter: fix style issue Corentin Labbe
  2022-05-04 10:30 ` [PATCH v2 2/2] hwmon: acpi_power_meter: convert to hwmon_device_register_with_info Corentin Labbe
  0 siblings, 2 replies; 4+ messages in thread
From: Corentin Labbe @ 2022-05-04 10:30 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel, Corentin Labbe

Hello

I dont like warning in my boot log such as:
hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
So I did the conversion to the new API.

The patchset was tested with:
- sensors
- cat all values directly in sysfs (for ones not displayed by sensors like oem_info, model_number, etc..)

But due to missing functionnality on my hardware some code path was not
tested. (Like all cap_xxx)

Regards

Change since v1:
- use really the new API

Corentin Labbe (2):
  hwmon: acpi_power_meter: fix style issue
  hwmon: acpi_power_meter: convert to hwmon_device_register_with_info

 drivers/hwmon/acpi_power_meter.c | 524 +++++++++++++------------------
 1 file changed, 227 insertions(+), 297 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-05-04 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 10:30 [PATCH v2 0/2] hwmon: acpi_power_meter: convert to new hwmon API Corentin Labbe
2022-05-04 10:30 ` [PATCH v2 1/2] hwmon: acpi_power_meter: fix style issue Corentin Labbe
2022-05-04 10:30 ` [PATCH v2 2/2] hwmon: acpi_power_meter: convert to hwmon_device_register_with_info Corentin Labbe
2022-05-04 20:00   ` kernel test robot

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

all inboxes | Powered by JetHome®