]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - Documentation/hwmon/hwmon-kernel-api.txt
hwmon: (core) Deprecate hwmon_device_register()
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Oct 2016 18:31:08 +0000 (11:31 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:19 +0000 (21:54 -0800)
commitaf1bd36c06b5fad33baa7ee16820226efbd96cd9
tree7e85fb0ca58a3173035da165912bdec12dda4f41
parentf4d325d5ed099c3ca9b2c23a53dc64e871a659c8
hwmon: (core) Deprecate hwmon_device_register()

Inform the user that hwmon_device_register() is deprecated,
and suggest conversion to the newest API. Also remove
hwmon_device_register() from the kernel API documentation.

Note that hwmon_device_register() is not marked as __deprecated()
since doing so might result in build errors.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/hwmon-kernel-api.txt
drivers/hwmon/hwmon.c
include/linux/hwmon.h