diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-05-09 20:56:14 +0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-05-09 21:44:15 +0200 |
commit | 09eb8b7c5adcc5d1d1908d78237dd7ae1d8605b6 (patch) | |
tree | 6c299b88547bd317b9bf548e96b91c7e455c4646 /scripts | |
parent | 9a2688e42638f2e057dbdfce82e221b38bfba0a7 (diff) |
power: supply: ucs1002: Fix wrong return value checking
Fix wrong return value checking for devm_regulator_register and
devm_regmap_init_i2c. This looks like a copy-n-paste mistake.
Fixes: 9a2688e42638 ("power: supply: Add driver for Microchip UCS1002")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions