Input: twl4030-pwrbutton - use input_set_capability() helper
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 28 Apr 2017 17:27:37 +0000 (10:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 May 2017 16:29:08 +0000 (09:29 -0700)
commit61e29ec1c96f67605217c2a80441a75ff906db62
treea5ec33b0dbde53249a64c7eccdad02d19b773e54
parent3071e9dd6cd3f2290d770117330f2c8b2e9a97e4
Input: twl4030-pwrbutton - use input_set_capability() helper

Cleanup driver slightly by using input_set_capability() instead
of manually setting the required bits.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl4030-pwrbutton.c