]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
remove <linux/i2c/twl4030-rtc.h>
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 3 Oct 2008 15:59:32 +0000 (08:59 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 6 Oct 2008 06:31:51 +0000 (09:31 +0300)
commit348b24a318f63517e410c385b8ed3a25293bb620
treef628bd7b84a920d3c5392263d87d5f4808c0703d
parentfb1df1cc23fc98379d057ac85906adbb3cac2557
remove <linux/i2c/twl4030-rtc.h>

Remove <linux/i2c/twl4030-rtc.h> by moving all the relevant contents
into the driver itself, and removing the rest.  Stuff removed included
many useless bitmasks, and remnants of the platform data hook.

Add markers inside the rtc driver to split sections apart:  first
data structure declarations, then the RTC driver, then platform bus
glue for it all.

There's still an issue with the twl4030-pwrirq.h registers ... this
driver has no business touching them!  This patch at least switches
away from having private versions of those register definitions, and
removes some unnecessary accesses to them.

No functional changes, just shrinkage.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/rtc/rtc-twl4030.c
include/linux/i2c/twl4030-pwrirq.h
include/linux/i2c/twl4030-rtc.h [deleted file]