]> git.karo-electronics.de Git - linux-beck.git/commit
Input: pwm-beeper - remove useless call to pwm_config()
authorOlivier Sobrie <olivier@sobrie.be>
Thu, 12 Mar 2015 21:47:13 +0000 (14:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 Mar 2015 21:53:11 +0000 (14:53 -0700)
commitd1b12075ffa808dce33dd46b7ad035bebf8da215
treeb2f4b568f13560ab56efb89bc5cead3c7b16e06c
parent877bef7de141db241e0c5d06db988b4ecbe29cf3
Input: pwm-beeper - remove useless call to pwm_config()

Calling pwm_config() with a period equal to zero always results in
error (-EINVAL) and pwm chip config method is never called.

Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/pwm-beeper.c