diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-04-17 23:09:20 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 15:50:14 +0200 |
commit | bab10bf90aaa20a95d629c2406411770acbfaf08 (patch) | |
tree | 1ee2e5c4182db620e595d524971ab56eeb3d10d1 /MAINTAINERS | |
parent | hwmon: (sch5627) Use devres function (diff) | |
download | linux-bab10bf90aaa20a95d629c2406411770acbfaf08.tar.xz linux-bab10bf90aaa20a95d629c2406411770acbfaf08.zip |
hwmon: (sch5627) Remove unnecessary error path
Calling remove() on error whould have only unregistered
the watchdog, and since a failure in registering him
is considered non-fatal and happens last, remove the
error path and return the error codes directly.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210417210920.15496-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions