]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
rtc-twl4030 header cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 3 Oct 2008 15:58:26 +0000 (08:58 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 6 Oct 2008 06:31:37 +0000 (09:31 +0300)
Portability fixes (simplifications) for rtc-twl4030:  don't include
so many needless headers, especially platform-specific ones.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/rtc/rtc-twl4030.c

index b19151a7a230d3c1aedf1e8e224ea9241b16261c..137c3ef0c39b416341aef0eb22fd4d7134fc0ec2 100644 (file)
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/module.h>
-#include <linux/ioport.h>
-#include <linux/delay.h>
 #include <linux/types.h>
 #include <linux/rtc.h>
 #include <linux/bcd.h>
 #include <linux/platform_device.h>
-#include <linux/spinlock.h>
 #include <linux/interrupt.h>
-#include <linux/device.h>
+
 #include <linux/i2c/twl4030.h>
 #include <linux/i2c/twl4030-rtc.h>
-#include <linux/io.h>
-#include <linux/irq.h>
 
-#include <asm/mach/time.h>
-#include <asm/system.h>
-#include <mach/hardware.h>
 
 #define ALL_TIME_REGS          6