diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:50:12 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-09 11:20:09 +0200 |
commit | 4582e783a2f481a813aa61178d77b2a5cb8f1d9e (patch) | |
tree | 3f5a3f889d8f4e713e81efa8c5de3bc8b73302b5 /drivers/leds/leds-tlc591xx.c | |
parent | leds: pwm: Simplify with dev_err_probe() (diff) | |
download | linux-4582e783a2f481a813aa61178d77b2a5cb8f1d9e.tar.xz linux-4582e783a2f481a813aa61178d77b2a5cb8f1d9e.zip |
leds: sgm3140: 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/leds/leds-tlc591xx.c')
0 files changed, 0 insertions, 0 deletions