pwm: Silently error out on EPROBE_DEFER
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 23 May 2017 16:05:03 +0000 (18:05 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 6 Jul 2017 06:29:16 +0000 (08:29 +0200)
commit93c292ef3cbb46db78853763fc4d9a5b9dfb97d5
tree2c97eaef062b525f6c77b7d4469d15ffacedd074
parentc571123c8a94cfbc88e70be4e8883529181417ce
pwm: Silently error out on EPROBE_DEFER

In of_pwm_get(), if we fail to get the PWM chip 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>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c