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>
This commit is contained in:
Frank Crawford 2024-04-28 16:06:34 +10:00 • committed by Guenter Roeck
commit e2e6a23f4b