Input: pwm-beeper - use input_set_capability()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 6 Jan 2017 17:54:14 +0000 (09:54 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 22 Jan 2017 08:23:18 +0000 (00:23 -0800)
commit48a55d7de79f95176f3ab372be66165a60be222f
treec4dcd09de2d4f8a3896a69105f38d234793c1278
parentbcf4b0460ba558b1e1fcaa7c160076751b560d03
Input: pwm-beeper - use input_set_capability()

Instead of manipulating capability bits directly, let's use
input_set_capability() API.

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