Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
authorGuenter Roeck <linux@roeck-us.net>
Wed, 25 Oct 2023 21:32:40 +0000 (14:32 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 25 Oct 2023 21:36:05 +0000 (14:36 -0700)
commitd621a46d05107f4e510383d6a38f2160c62d28f7
tree44191a5d13ab90133930562cde0dac38a211c896
parent28da9dee3594423534f3ea1e1f61e6bb2d2fa651
Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"

This reverts commit 393935baa45e5ccb9603cf7f9f020ed1bc0915f7.

As reported by Ian Nartowicz, this and the next patch
result in a failure to load the driver on Celsius W280.
While the alternative would be to add the board to the DMI
override table, it is quite likely that other systems are
also affected. Revert the offending patches to avoid future
problems.

Fixes: 393935baa45e ("hwmon: (sch56xx-common) Add automatic module loading on supported devices")
Reported-by: Ian Nartowicz <deadbeef@nartowicz.co.uk>
Closes: https://lore.kernel.org/linux-hwmon/20231025192239.3c5389ae@debian.org/T/#t
Cc: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sch56xx-common.c