Home
last modified time | relevance | path

Searched hist:"5720 a18baa4686d56d0a235e6ecbcc55f8d716d7" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/hwmon/
H A Dsubmitting-patches.rstdiff 5720a18baa4686d56d0a235e6ecbcc55f8d716d7 Thu Feb 16 13:34:19 CST 2023 Guenter Roeck <linux@roeck-us.net> hwmon: Deprecate [devm_]hwmon_device_register_with_groups

Even though the hardware monitoring documentation already stated that new
drivers should use [devm_]devm_hwmon_device_register_with_info() to
register with the hardware monitoring subsystem, we still get submissions
for new drivers using the older APIs. There is no benefit to use those
APIs. On the contrary, using the older APIs results in substantially larger
code size. Explicitly deprecate [devm_]hwmon_device_register_with_groups()
to ensure that all new drivers use the latest API.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/openbmc/linux/include/linux/
H A Dhwmon.hdiff 5720a18baa4686d56d0a235e6ecbcc55f8d716d7 Thu Feb 16 13:34:19 CST 2023 Guenter Roeck <linux@roeck-us.net> hwmon: Deprecate [devm_]hwmon_device_register_with_groups

Even though the hardware monitoring documentation already stated that new
drivers should use [devm_]devm_hwmon_device_register_with_info() to
register with the hardware monitoring subsystem, we still get submissions
for new drivers using the older APIs. There is no benefit to use those
APIs. On the contrary, using the older APIs results in substantially larger
code size. Explicitly deprecate [devm_]hwmon_device_register_with_groups()
to ensure that all new drivers use the latest API.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>