leds: pwm: silently error out on EPROBE_DEFER
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 6 Sep 2018 13:59:04 +0000 (15:59 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Sat, 8 Sep 2018 20:47:15 +0000 (22:47 +0200)
commit9aec30371fb095a0c9415f3f0146ae269c3713d8
tree51cf90791cd7d176d1a9dc444cf92f673f0bd35d
parentf813eec972ee32f69e3a8be3512cb6ba266d7d64
leds: pwm: silently error out on EPROBE_DEFER

When probing, if we fail to get the pwm due to probe deferal, we shouldn't
print an error message. Just be silent in this case.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-pwm.c