diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:48:56 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-08-26 17:25:42 +0200 |
| commit | 52a023a14ea90da4356395f175cf055d6ad8afee (patch) | |
| tree | 4467dab3b27626d17212ca57eb9d9261c6d350f8 /lib/mpi/mpiutil.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 <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
