All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	"Milo(Woogyom) Kim" <milo.kim@ti.com>,
	Daniel Jeong <daniel.jeong@ti.com>
Subject: Re: [PATCH] power_supply: Add MODULE_DEVICE_TABLE for lp8727 charger
Date: Thu, 15 Mar 2012 21:06:12 +0400	[thread overview]
Message-ID: <20120315170612.GC11441@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1326372302.5729.1.camel@phoenix>

On Thu, Jan 12, 2012 at 08:45:02PM +0800, Axel Lin wrote:
> Add MODULE_DEVICE_TABLE to setup modalias for lp8727.
> The i2c_device_id table is supposed to be zero-terminated.
> Thus add a missing terminate entry for lp8727_ids.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/power/lp8727_charger.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
> index b15b575..8e901c9 100644
> --- a/drivers/power/lp8727_charger.c
> +++ b/drivers/power/lp8727_charger.c
> @@ -464,7 +464,9 @@ static int __devexit lp8727_remove(struct i2c_client *cl)
>  
>  static const struct i2c_device_id lp8727_ids[] = {
>  	{"lp8727", 0},
> +	{ },
>  };
> +MODULE_DEVICE_TABLE(i2c, lp8727_ids);

Applied, thank you!

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

      parent reply	other threads:[~2012-03-15 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 12:45 [PATCH] power_supply: Add MODULE_DEVICE_TABLE for lp8727 charger Axel Lin
2012-01-16  5:07 ` Kim, Milo
2012-01-16  5:46   ` Axel Lin
2012-03-15 17:06 ` Anton Vorontsov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120315170612.GC11441@oksana.dev.rtsoft.ru \
    --to=cbouatmailru@gmail.com \
    --cc=axel.lin@gmail.com \
    --cc=daniel.jeong@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=milo.kim@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.