Input: ad7877 - use attribute group to control visibility of attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 16:22:38 +0000 (09:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 16:35:09 +0000 (09:35 -0700)
commit2fd18abad179b11cbd881f2bd271b193ababfb65
tree547ac1f98babf973c1d091fc7a8890306b82bfdc
parentfc58d12be416eb51932eec594667ca3181903b9e
Input: ad7877 - use attribute group to control visibility of attributes

Instead of manually creating one set of attributes or another set up
is_visible method in attribute group structure to control whether
aux3 or gpio3 attribute is presented to userspace.

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7877.c
This page took 0.055444 seconds and 5 git commands to generate.