From: Andres Salomon Date: Tue, 16 Sep 2008 16:30:34 +0000 (-0400) Subject: Input: psmouse - tweak PSMOUSE_DEFINE_ATTR to support raw set callbacks X-Git-Tag: v2.6.28-rc1~289^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68d482214bb0eaac138ace329e72390d6c8d44ff;p=pandora-kernel.git Input: psmouse - tweak PSMOUSE_DEFINE_ATTR to support raw set callbacks We want to support attr->set callbacks that may need psmouse->state to not be updated, or may want to manually deal w/ enabling and disabling the device. To do that, we create __PSMOUSE_DEFINE_ATTR which enables us to set a 'protect' argument specifying whether or not the set callback should be protected with psmouse_disable and state setting. Signed-off-by: Andres Salomon Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed