diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 17:50:10 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-09 12:20:09 +0300 |
commit | 47eaa8ba12cc77895e2591ec57091bed7b3d9817 (patch) | |
tree | e708bb7403a027ad44123dcd5fdc590d0f2fbefc /drivers/tty | |
parent | 23bdfe00424c297051cea73cbdb7ef7398f3cb6e (diff) | |
download | linux-47eaa8ba12cc77895e2591ec57091bed7b3d9817.tar.xz |
leds: lm3692x: 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: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions