Guenter Roeck 1ec0bc72f5 hwmon: Make chip parameter for with_info API mandatory
[ Upstream commit ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:11:29 +02:00
..
2021-05-19 10:08:30 +02:00
2019-09-22 09:30:30 -07:00
2020-09-03 11:26:54 +02:00