Skip to contentSkip to conversation

rtc-twl4030 header cleanup

PATCH In review David Brownell 1 participant 1 message Oct 3, 2008 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 rtc-twl4030 header cleanup

From: David Brownell <[email protected]>

Portability fixes (simplifications) for rtc-twl4030: don't include so many needless headers, especially platform-specific ones.

---
 drivers/rtc/rtc-twl4030.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/rtc/rtc-twl4030.c +1 -9
@@ -21,23 +21,15 @@
 #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