diff options
| author | 2020-08-26 16:48:58 +0200 | |
|---|---|---|
| committer | 2020-08-26 17:25:45 +0200 | |
| commit | e03e3601fb9fc2aa5dc8b483944006c01ffa6aa5 (patch) | |
| tree | 9fb98b6d717b8bfa58785ff6519164426554b455 /include/linux | |
| parent | power: supply: ingenic: Simplify with dev_err_probe() (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
