Input: pwm-beeper - suppress error message on probe defer
authorDavid Lechner <david@lechnology.com>
Fri, 6 Jan 2017 18:35:16 +0000 (10:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 22 Jan 2017 08:23:20 +0000 (00:23 -0800)
commit62481881401246859d9bd06b7c7b9a391c78892c
tree8957f4ad51fabc3985f165cda6d60dda158d2a0b
parente9728f0dd7dc06fb0f0d18552ab9599005cd2ab7
Input: pwm-beeper - suppress error message on probe defer

This suppress printing an error message when pwm_get returns -EPROBE_DEFER.
Otherwise you get a bunch of noise in the kernel log.

Signed-off-by: David Lechner <david@lechnology.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/pwm-beeper.c