Skip to contentSkip to conversation

power_supply: lp8727_charger: Add terminating entry for i2c_device_id table

PATCH Applied Axel Lin 3 participants 3 messages Jan 16, 2012 – Feb 1, 2012

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 power_supply: lp8727_charger: Add terminating entry for i2c_device_id table

The i2c_device_id table is supposed to be zero-terminated.

---
 drivers/power/lp8727_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/power/lp8727_charger.c +1 -0
index b15b575..c53dd12 100644
@@ -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 = {
Signature · 1 line
1.7.5.4
#1 lore raw

Thanks,

I think Anton will apply this patch.

-----Original Message-----
From: Axel Lin [mailto:[email protected]]
Sent: Monday, January 16, 2012 2:48 PM
To: [email protected]
Cc: Kim, Milo; Jeong, Daniel; Anton Vorontsov
Subject: [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table

The i2c_device_id table is supposed to be zero-terminated.

---
 drivers/power/lp8727_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/power/lp8727_charger.c +1 -0
index b15b575..c53dd12 100644
@@ -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 = {
Signature · 5 lines
1.7.5.4



���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�
#2 lore raw
Quoted 11 lines · Milo

Thanks,

I think Anton will apply this patch.

-----Original Message-----
From: Axel Lin [mailto:[email protected]]
Sent: Monday, January 16, 2012 2:48 PM
To: [email protected]
Cc: Kim, Milo; Jeong, Daniel; Anton Vorontsov
Subject: [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table

Quoted 4 lines

The i2c_device_id table is supposed to be zero-terminated.

Applied to battery-urgent.git, thanks!

Quoted 18 lines
---
 drivers/power/lp8727_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/power/lp8727_charger.c +1 -0
index b15b575..c53dd12 100644
@@ -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 = {
Signature · 1 line
1.7.5.4
Signature · 2 lines
Anton Vorontsov
Email: [email protected]