hwmon: (it87) Do not enter configuration mode for some chiptypes
authorFrank Crawford <frank@crawford.emu.id.au>
Sun, 28 Apr 2024 06:06:34 +0000 (16:06 +1000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 30 Apr 2024 17:32:14 +0000 (10:32 -0700)
commite2e6a23f4bda2de9c7096aa9c310bc3400187e90
tree9d789adaad77b7c01e828a9e4c2925b9b39c4ca4
parentf4f3e5de2e363892953fba10328cc2ca1e8e6ff0
hwmon: (it87) Do not enter configuration mode for some chiptypes

Update the configuration mode entry code to allow conditional entry, and
apply to all calls.

Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20240428060653.2425296-3-frank@crawford.emu.id.au
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c