diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-12-11 19:44:49 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-27 00:02:06 +0100 |
commit | 9c6d555187f504b880ca506b0b2d0edbdb5d2d5f (patch) | |
tree | 4a40ee5d5fca6c58195a46b08ecad052b0b86f0a /drivers/vdpa | |
parent | hwmon: (nct6775) delete some extension lines (diff) | |
download | linux-9c6d555187f504b880ca506b0b2d0edbdb5d2d5f.tar.xz linux-9c6d555187f504b880ca506b0b2d0edbdb5d2d5f.zip |
hwmon: (raspberrypi) Exit immediately in case of error in init
Exit immediately if devm_hwmon_device_register_with_info()
fails since registering a delayed work whould be useless
in such a case anyway.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20211211184449.18211-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/vdpa')
0 files changed, 0 insertions, 0 deletions