projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bbe24d
)
lp8727_charger: Add terminating entry for i2c_device_id table
author
Axel Lin
<axel.lin@gmail.com>
Mon, 16 Jan 2012 05:48:20 +0000
(13:48 +0800)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Wed, 1 Feb 2012 17:34:26 +0000
(21:34 +0400)
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>
drivers/power/lp8727_charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/lp8727_charger.c
b/drivers/power/lp8727_charger.c
index b15b575c070c5bd66e1164c93f7d58ecbc26b97a..c53dd1292f818bc595a54c863c63f362e28ad5aa 100644
(file)
--- 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 = {