summaryrefslogtreecommitdiff
path: root/drivers/hwmon/as370-hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2022-05-11 06:22:51 -0700
committerGuenter Roeck <linux@roeck-us.net>2022-05-22 11:32:31 -0700
commitddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 (patch)
tree31e1c149d69b9dc96c24e76a50da32b790028aab /drivers/hwmon/as370-hwmon.c
parent87743bcf08072b3e1952a0bf5524b2833e667b4c (diff)
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>
Diffstat (limited to 'drivers/hwmon/as370-hwmon.c')
0 files changed, 0 insertions, 0 deletions