Input: axp20x-pek - switch over to using attribute group
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 29 Dec 2014 23:13:06 +0000 (15:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Jan 2015 21:55:30 +0000 (13:55 -0800)
commitb388de88308fde104fb6520dbf9e7b342fd5761a
tree584789383e65149142704cc46e372311a3f33bc4
parent5b6c26a9f6437c4467f5d7cbf0313a7ae2be86b1
Input: axp20x-pek - switch over to using attribute group

Instead of registering device attributes individually let's use attribute
groups and also devm_* infrastructure to ease cleanup.

Tested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/axp20x-pek.c