hwmon: (ltc4282) avoid repeated register write
authorNuno Sá <nuno.sa@analog.com>
Wed, 11 Jun 2025 16:26:12 +0000 (17:26 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 16 Jun 2025 13:30:58 +0000 (06:30 -0700)
commitc25892b7a1744355e16281cd24a9b59ec15ec974
treec0139be1b8f7a4bca9807a49bc7801a937399241
parent2c021b45c154958566aad0cae9f74ab26a2d5732
hwmon: (ltc4282) avoid repeated register write

The fault enabled bits were being mistankenly enabled twice in case the FW
property is present. Remove one of the writes.

Fixes: cbc29538dbf7 ("hwmon: Add driver for LTC4282")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250611-fix-ltc4282-repetead-write-v1-1-fe46edd08cf1@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ltc4282.c