diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-08-26 16:48:56 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2020-08-26 17:25:42 +0200 |
commit | 52a023a14ea90da4356395f175cf055d6ad8afee (patch) | |
tree | 4467dab3b27626d17212ca57eb9d9261c6d350f8 /lib/mpi/mpi-cmp.c | |
parent | ec744270c92785772b111ba21a6bb23a8cc2cb4d (diff) |
power: supply: gpio-charger: 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]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions