]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tsc2005 - hide selftest attribute if we can't reset
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 05:10:37 +0000 (22:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 06:29:00 +0000 (23:29 -0700)
commit7d85f9bfb73ddf4c879da533c0092bf5ad7b699a
treef944bc8f99c380c2fe9090a038d4a0ebeb5ea60c
parent280ddc7b359f0a8d764a582163984fcc856d7f5b
Input: tsc2005 - hide selftest attribute if we can't reset

If implementation to perform self-test/reset has not been provided by the
platform code hide 'selftest' sysfs attribute instead of returning error
when someone tries to use it.

Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tsc2005.c