diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-07-29 01:15:52 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-08-18 00:54:25 +0300 |
commit | 1492fa21c0ba531e3ae4fc1b5cdaaf96603bf800 (patch) | |
tree | 266280ee20445e4881156b922125c2eb4761636a /drivers/hwmon/max197.c | |
parent | 60b76c3a117ce076f60f58de17bae1122849746a (diff) | |
download | linux-1492fa21c0ba531e3ae4fc1b5cdaaf96603bf800.tar.xz |
hwmon: (dell-smm-hwmon) Use platform device
Register a platform device for usage with
devm_hwmon_device_register_with_groups since
the platform device is necessary for future
changes.
Also fix some checkpatch warnings.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210728221557.8891-2-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/max197.c')
0 files changed, 0 insertions, 0 deletions