drivers/rtc/rtc-x1205.c | 128 ++++++++++++++++--------------------------------
1 file changed, 43 insertions(+), 85 deletions(-)
-Index: linux-2.6.25.1/drivers/rtc/rtc-x1205.c
-===================================================================
---- linux-2.6.25.1.orig/drivers/rtc/rtc-x1205.c
-+++ linux-2.6.25.1/drivers/rtc/rtc-x1205.c
+--- a/drivers/rtc/rtc-x1205.c
++++ b/drivers/rtc/rtc-x1205.c
@@ -22,20 +22,7 @@
#include <linux/rtc.h>
#include <linux/delay.h>
/* offsets into CCR area */
-@@ -91,19 +78,7 @@ I2C_CLIENT_INSMOD;
+@@ -91,19 +78,7 @@
#define X1205_HR_MIL 0x80 /* Set in ccr.hour for 24 hr mode */
/*
* In the routines that deal directly with the x1205 hardware, we use
-@@ -497,58 +472,51 @@ static ssize_t x1205_sysfs_show_dtrim(st
+@@ -497,58 +472,51 @@
}
static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL);
i2c_set_clientdata(client, rtc);
-@@ -565,45 +533,35 @@ static int x1205_probe(struct i2c_adapte
+@@ -565,45 +533,35 @@
else
dev_err(&client->dev, "couldn't read status\n");