]> 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)
commitfafdcd9a4a2e809b3ae6f46f22c9503201a582d5
tree584789383e65149142704cc46e372311a3f33bc4
parentf8d3017771bda44439cfd779f8acfaed4fe5d8b5
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