]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
input: lm8323: general clean up
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 19 Feb 2009 12:29:41 +0000 (12:29 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Feb 2009 00:26:13 +0000 (16:26 -0800)
commitbb739803dce613ed58e8b35ae52af439ab7496bf
tree5477a2aa10d3513397152edb200b534cc4fd3c54
parentc83702a764c3099df50f215b8e79e07344e34a1a
input: lm8323: general clean up

This patch cleans up lm8323 driver a little bit:

- don't include <asm/mach-types.h> nor <asm/mach/irq.h>
- remove #define DRIVER_NAME
- don't try to fix pdata if it comes wrong, return -errno
- remove __devexit from remove() call
- move module_init() and module_exit() closer to their arguments
- add missing fields to n800's lm8323's pdata

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800.c
drivers/input/keyboard/lm8323.c