hwmon: (sch56xx) Autoload modules on platform device creation
authorArmin Wolf <W_Armin@gmx.de>
Mon, 31 Jan 2022 21:19:32 +0000 (22:19 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:17 +0000 (17:03 -0800)
commit4db3c09228a0899cdd791b4e34cd102a3288fd8e
tree2f1fd644ab80cfc0a89243badc5ebf1c40180b09
parent07320c91565658e117f2f86a190eec9bb64abeb6
hwmon: (sch56xx) Autoload modules on platform device creation

Right now, when sch56xx-common has detected a SCH5627/SCH5636
superio chip, the corresponding module is not automatically
loaded.
Fix that by adding the necessary device tables to both modules.

Tested on a Fujitsu Esprimo P720.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220131211935.3656-2-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sch5627.c
drivers/hwmon/sch5636.c