Skip to content

Commit 1094360

Browse files
committed
hwmon: (emc1403) Convert to with_info API
Convert driver to register with the hwmon subsystem using devm_hwmon_device_register_with_info() instead of devm_hwmon_device_register_with_groups() to simplify the code and to reduce its size. As side effect, this also fixes a couple of overflow problems when writing limit and hysteresis registers. Cc: Lars Petter Mostad <lars.petter.mostad@appear.net> Tested-by: Lars Petter Mostad <lars.petter.mostad@appear.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 45bf830 commit 1094360

1 file changed

Lines changed: 332 additions & 291 deletions

File tree

0 commit comments

Comments
 (0)