linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table
@ 2012-01-16  5:48 Axel Lin
  2012-01-17  0:33 ` Kim, Milo
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2012-01-16  5:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: Milo(Woogyom) Kim, Daniel Jeong, Anton Vorontsov

The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/power/lp8727_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index b15b575..c53dd12 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 = {
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table
  2012-01-16  5:48 [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table Axel Lin
@ 2012-01-17  0:33 ` Kim, Milo
  2012-02-01 17:34   ` Anton Vorontsov
  0 siblings, 1 reply; 3+ messages in thread
From: Kim, Milo @ 2012-01-17  0:33 UTC (permalink / raw)
  To: Axel Lin, linux-kernel; +Cc: Jeong, Daniel, Anton Vorontsov

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1143 bytes --]

Thanks,

I think Anton will apply this patch.

-----Original Message-----
From: Axel Lin [mailto:axel.lin@gmail.com] 
Sent: Monday, January 16, 2012 2:48 PM
To: linux-kernel@vger.kernel.org
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.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
---
 drivers/power/lp8727_charger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index b15b575..c53dd12 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 = {
-- 
1.7.5.4



ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table
  2012-01-17  0:33 ` Kim, Milo
@ 2012-02-01 17:34   ` Anton Vorontsov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Vorontsov @ 2012-02-01 17:34 UTC (permalink / raw)
  To: Kim, Milo; +Cc: Axel Lin, linux-kernel, Jeong, Daniel

On Mon, Jan 16, 2012 at 04:33:43PM -0800, Kim, Milo wrote:
> Thanks,
> 
> I think Anton will apply this patch.
> 
> -----Original Message-----
> From: Axel Lin [mailto:axel.lin@gmail.com] 
> Sent: Monday, January 16, 2012 2:48 PM
> To: linux-kernel@vger.kernel.org
> 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.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>

Applied to battery-urgent.git, thanks!

> ---
>  drivers/power/lp8727_charger.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
> index b15b575..c53dd12 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 = {
> -- 
> 1.7.5.4

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-01 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16  5:48 [PATCH] power_supply: lp8727_charger: Add terminating entry for i2c_device_id table Axel Lin
2012-01-17  0:33 ` Kim, Milo
2012-02-01 17:34   ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).