twl4030_keypad cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 23 Jan 2009 06:59:16 +0000 (22:59 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Feb 2009 19:19:36 +0000 (11:19 -0800)
Start cleaning up the twl4030 keypad driver to become more
suitable for mainline.

 - Remove false OMAP dependencies:  names, <mach/keypad.h>, Kconfig
 - We don't need a miniature header file
 - Add missing input_sync()
 - Fix section annotations
 - Fix probe() error cleanup
 - Streamline i/o calls
 - Remove needless mutex; maintain key state only via irqs
 - Remove unneeded headers
 - Use "unsigned" for things that can't be negative

The driver should also be renamed as "twl4030_keypad.c"; that will
be a different patch.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found