Skip to content
Commit ddaefa20 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent 87743bcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment