summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-26 16:48:58 +0200
committerSebastian Reichel <sre@kernel.org>2020-08-26 17:25:45 +0200
commite03e3601fb9fc2aa5dc8b483944006c01ffa6aa5 (patch)
tree9fb98b6d717b8bfa58785ff6519164426554b455 /lib/mpi/mpiutil.c
parent31873dc23c3fa19b86fb543935f284ebbddf486e (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 <krzk@kernel.org> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions