public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger
@ 2011-07-31 23:23 Axel Lin
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-07-31 23:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: MyungJoo Ham, KyungMin Park, Anton Vorontsov

The platform_device_id table is supposed to be zero-terminated.

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

diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 7106b49..9848fb8 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -177,6 +177,7 @@ static int __devexit max8997_battery_remove(struct platform_device *pdev)
 
 static const struct platform_device_id max8997_battery_id[] = {
 	{ "max8997-battery", 0 },
+	{ }
 };
 
 static struct platform_driver max8997_battery_driver = {
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index cc21fa2..4ddacb4 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -188,6 +188,7 @@ static int __devexit max8998_battery_remove(struct platform_device *pdev)
 
 static const struct platform_device_id max8998_battery_id[] = {
 	{ "max8998-battery", TYPE_MAX8998 },
+	{ }
 };
 
 static struct platform_driver max8998_battery_driver = {
-- 
1.7.4.1




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

* Re: [PATCH] power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger
@ 2011-08-01  2:17 MyungJoo Ham
  2011-08-19 16:44 ` Anton Vorontsov
  0 siblings, 1 reply; 3+ messages in thread
From: MyungJoo Ham @ 2011-08-01  2:17 UTC (permalink / raw)
  To: Axel Lin, linux-kernel@vger.kernel.org
  Cc: 박경민, Anton Vorontsov

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

Sender : Axel Lin<axel.lin@gmail.com>
Date : 2011-08-01 08:23 (GMT+09:00)
> The platform_device_id table is supposed to be zero-terminated.
>
> Signed-off-by: Axel Lin 
> ---
> drivers/power/max8997_charger.c |    1 +
> drivers/power/max8998_charger.c |    1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)

Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

 MyungJoo Ham (ÇÔ¸íÁÖ)
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: +82-10-6714-2858 / office: +82-31-279-8033ÿôèº{.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	[flat|nested] 3+ messages in thread

* Re: [PATCH] power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger
  2011-08-01  2:17 MyungJoo Ham
@ 2011-08-19 16:44 ` Anton Vorontsov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Vorontsov @ 2011-08-19 16:44 UTC (permalink / raw)
  To: MyungJoo Ham
  Cc: Axel Lin, linux-kernel@vger.kernel.org, 박경민

On Mon, Aug 01, 2011 at 02:18:00AM +0000, MyungJoo Ham wrote:
> Sender : Axel Lin<axel.lin@gmail.com>
> Date : 2011-08-01 08:23 (GMT+09:00)
> > The platform_device_id table is supposed to be zero-terminated.
> >
> > Signed-off-by: Axel Lin 
> > ---
> > drivers/power/max8997_charger.c |    1 +
> > drivers/power/max8998_charger.c |    1 +
> > 2 files changed, 2 insertions(+), 0 deletions(-)
> 
> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

Applied, thanks!

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

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

end of thread, other threads:[~2011-08-19 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-31 23:23 [PATCH] power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger Axel Lin
  -- strict thread matches above, loose matches on Subject: below --
2011-08-01  2:17 MyungJoo Ham
2011-08-19 16:44 ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox