]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit - include/linux/i2c/twl4030.h
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)
commit5af6f80ac04f74bb96c1eaee77e85ccbf98c21d9
tree0e09463b658009aa680d1e417d897196ed9be5b6
parentc00b5565aaaefadfe68d7c32d05617c81bb9edff
twl4030_keypad cleanup

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>
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-omap2evm.c
arch/arm/mach-omap2/board-omap3evm.c
drivers/input/keyboard/Kconfig
drivers/input/keyboard/omap-twl4030keypad.c
drivers/input/keyboard/twl4030-keypad.h [deleted file]
include/linux/i2c/twl4030.h