summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-16 09:48:20 +0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-02-01 21:34:26 +0400
commit455a0e2cd80f7a2849b2e6d3be85c053ee44446b (patch)
treedb5bac16ac5263898eb387c6613e96dbeceda8db /drivers/power
parent1bbe24d465db626fed050e0128a7244b9cb407f4 (diff)
downloadlinux-455a0e2cd80f7a2849b2e6d3be85c053ee44446b.tar.xz
lp8727_charger: Add terminating entry for i2c_device_id table
The i2c_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/lp8727_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index b15b575c070c..c53dd1292f81 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -464,6 +464,7 @@ static int __devexit lp8727_remove(struct i2c_client *cl)
static const struct i2c_device_id lp8727_ids[] = {
{"lp8727", 0},
+ { }
};
static struct i2c_driver lp8727_driver = {