From: Imre Deak Date: Mon, 20 Mar 2006 14:36:40 +0000 (-0400) Subject: ads7846: Add disable sysfs entry / fix spin lock init, driver cleanup X-Git-Tag: v2.6.16-omap1~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a8a0d83750cbb3e438b0b2139abfbb58eceb44;p=pandora-kernel.git ads7846: Add disable sysfs entry / fix spin lock init, driver cleanup Add disable attribute to support device locking mode, where a unintentional touch event shouldn't wake up the system. Add missing spin_lock_init. Do device resume with the lock held. Do cleanup calls / free memory in the reverse order of initialization. Signed-off-by: Imre Deak Signed-off-by: Juha Yrjola --- Reading git-diff-tree failed