projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f161f4
)
mfd: terminate pcf50633 i2c_device_id list
author
Jean Delvare
<khali@linux-fr.org>
Tue, 17 Feb 2009 08:07:02 +0000
(09:07 +0100)
committer
Samuel Ortiz
<samuel@sortiz.org>
Tue, 17 Feb 2009 08:07:02 +0000
(09:07 +0100)
The i2c_device_id list is supposed to be zero-terminated.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Balaji Rao <balajirrao@openmoko.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mfd/pcf50633-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/pcf50633-core.c
b/drivers/mfd/pcf50633-core.c
index ea9488e7ad6d60a7d8b80d90083d2cbe83d7beef..2e36057659e12acedd5d2be43268d692aaefe8e3 100644
(file)
--- a/
drivers/mfd/pcf50633-core.c
+++ b/
drivers/mfd/pcf50633-core.c
@@
-678,6
+678,7
@@
static int __devexit pcf50633_remove(struct i2c_client *client)
static struct i2c_device_id pcf50633_id_table[] = {
{"pcf50633", 0x73},
+ {/* end of list */}
};
static struct i2c_driver pcf50633_driver = {