diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-04-11 18:42:25 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 15:50:14 +0200 |
commit | 790ac8fab116b31e0ff389f8a1c26fefe09000fa (patch) | |
tree | 94549c51d850ce8c7748f9802908d0edde80a968 /drivers/mfd | |
parent | hwmon: (sch5627) Convert to hwmon_device_register_with_info() (diff) | |
download | linux-790ac8fab116b31e0ff389f8a1c26fefe09000fa.tar.xz linux-790ac8fab116b31e0ff389f8a1c26fefe09000fa.zip |
hwmon: (sch5627) Split sch5627_update_device()
An error in sch5627_update_device() could cause sch5627_read()
to fail even if the error did not affect the target sensor type.
Split sch5627_update_device() to prevent that.
Tested on a Fujitsu Esprimo P720.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210411164225.11967-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions