diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:48:58 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-08-26 17:25:45 +0200 |
commit | e03e3601fb9fc2aa5dc8b483944006c01ffa6aa5 (patch) | |
tree | 9fb98b6d717b8bfa58785ff6519164426554b455 /drivers/ps3 | |
parent | power: supply: ingenic: Simplify with dev_err_probe() (diff) | |
download | linux-e03e3601fb9fc2aa5dc8b483944006c01ffa6aa5.tar.xz linux-e03e3601fb9fc2aa5dc8b483944006c01ffa6aa5.zip |
power: supply: lego_ev3: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions