diff mbox

rtc: isl12022: Remove rtc8564 from isl12022_id

Message ID 1366519056.5090.2.camel@phoenix
State Accepted
Headers show

Commit Message

Axel Lin April 21, 2013, 4:37 a.m. UTC
rtc8564 appears in i2c_device_id table of both rtc-isl12022.c and rtc-pcf8563.c.
commit 8ea9212c "rtc-pcf8563: add chip id" adds rtc8564 chip entry to pcf8563.
isl12022 driver is modified from pcf8563 driver, so this looks like a copy-paste
bug.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/rtc/rtc-isl12022.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c
index 1af0aa5..a1bbbb8 100644
--- a/drivers/rtc/rtc-isl12022.c
+++ b/drivers/rtc/rtc-isl12022.c
@@ -280,7 +280,6 @@  static int isl12022_remove(struct i2c_client *client)
 
 static const struct i2c_device_id isl12022_id[] = {
 	{ "isl12022", 0 },
-	{ "rtc8564", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, isl12022_id);