]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4fb4a2e15dd0d2b5632080ceaa6735cfd4a46d1b
treea5ec33b0dbde53249a64c7eccdad02d19b773e54
parenta39434fa2dde1954d69a0241abe7c38255ad2457
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