diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-08-26 16:48:55 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2020-08-26 17:25:42 +0200 |
commit | ec744270c92785772b111ba21a6bb23a8cc2cb4d (patch) | |
tree | 0771ec19920612ce5d74a7e6e5f680aa2608ec19 /lib/mpi/mpi-cmp.c | |
parent | 4024810c5aad6b63a7e4de26850ea0c8ea870850 (diff) |
power: supply: cpcap: 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