drivers/rtc/rtc-isl12022.c: Remove rtc8564 from isl12022_id
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Apr 2013 23:21:06 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:40 +0000 (18:28 -0700)
rtc8564 appears in i2c_device_id table of both rtc-isl12022.c and
rtc-pcf8563.c.  Commit 8ea9212cbd65 "rtc-pcf8563: add chip id" added the
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>
Cc: Roman Fietze <roman.fietze@telemotive.de>
Cc: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl12022.c

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