• Guenter Roeck's avatar
    hwmon: Deprecate [devm_]hwmon_device_register_with_groups · 5720a18b
    Guenter Roeck authored
    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: default avatarGuenter Roeck <linux@roeck-us.net>
    5720a18b
submitting-patches.rst 6.69 KB