diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-08-26 16:48:58 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2020-08-26 17:25:45 +0200 |
commit | e03e3601fb9fc2aa5dc8b483944006c01ffa6aa5 (patch) | |
tree | 9fb98b6d717b8bfa58785ff6519164426554b455 /lib/mpi/mpi-cmp.c | |
parent | 31873dc23c3fa19b86fb543935f284ebbddf486e (diff) |
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 <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions