summaryrefslogtreecommitdiff
path: root/drivers/hwmon/nct6775-i2c.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2022-11-30 19:34:18 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-12-04 19:34:51 -0800
commit688fcd047ef0f0aeee16d0fefaff065fa69eb642 (patch)
tree126bcd646ab22393e02616b7189404c3ab92f194 /drivers/hwmon/nct6775-i2c.c
parent4e6104b1e70020ad500f0fab7238898dd2ea2a38 (diff)
hwmon: (dell-smm) Move error message to make probing silent
If dell-smm-hwmon loads on unsupported hardware like the Dell XPS 17 9710, an error message is printed. This might confuse users, as drivers are expected to be silent if no supported hardware is found. Reorder the error message so its only printed when the driver is loaded with the "force" option being set. Also reword the error message slightly. Tested on a Dell Inspiron 3505. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20221130183418.357246-1-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6775-i2c.c')
0 files changed, 0 insertions, 0 deletions