commit | 7e8da60596b26c40483375f75297f45bd81d4096 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Wed Aug 26 16:50:11 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Wed Sep 09 11:20:09 2020 +0200 |
tree | 87e14e1461764ea46afb23c561f1c4e2d414dc75 | |
parent | 47eaa8ba12cc77895e2591ec57091bed7b3d9817 [diff] |
leds: pwm: 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>