Home
last modified time | relevance | path

Searched hist:ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/hwmon/
H A Dhwmon-kernel-api.rstdiff ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 Wed May 11 08:22:51 CDT 2022 Guenter Roeck <linux@roeck-us.net> hwmon: Make chip parameter for with_info API mandatory

Various attempts were made recently to "convert" the old
hwmon_device_register() API to devm_hwmon_device_register_with_info()
by just changing the function name without actually converting the
driver. Prevent this from happening by making the 'chip' parameter of
devm_hwmon_device_register_with_info() mandatory.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
/openbmc/linux/drivers/hwmon/
H A Dhwmon.cdiff ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 Wed May 11 08:22:51 CDT 2022 Guenter Roeck <linux@roeck-us.net> hwmon: Make chip parameter for with_info API mandatory

Various attempts were made recently to "convert" the old
hwmon_device_register() API to devm_hwmon_device_register_with_info()
by just changing the function name without actually converting the
driver. Prevent this from happening by making the 'chip' parameter of
devm_hwmon_device_register_with_info() mandatory.

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