]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cb0892581aff05bca0b8e60d9831e816f97431f
tree584789383e65149142704cc46e372311a3f33bc4
parent3d4670f30a43d0672e7d4b6daa8d8d0c8cd26633
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