From: Dmitry Torokhov Date: Thu, 17 Mar 2011 05:10:37 +0000 (-0700) Subject: Input: tsc2005 - hide selftest attribute if we can't reset X-Git-Tag: v2.6.39-rc1~410^2^2^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dbcc432c2b4adf4ff7183afc5f2b42276b2a987;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed