devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Anton Vorontsov <cbouatmailru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 2/5] power: sbs-battery: rename internals to new name
Date: Mon, 05 Dec 2011 17:20:10 -0800	[thread overview]
Message-ID: <1323134410.24760.1.camel@rklein-linux2> (raw)
In-Reply-To: <20111206012012.GA3065-wnGakbxT3iijyJ0x5qLZdcN33GVbZNy3@public.gmane.org>

On Mon, 2011-12-05 at 17:20 -0800, Anton Vorontsov wrote:
> On Mon, Dec 05, 2011 at 03:58:04PM -0800, Rhyland Klein wrote:
> [...]
> > -static const struct i2c_device_id bq20z75_id[] = {
> > -	{ "bq20z75", 0 },
> > +static const struct i2c_device_id sbs_id[] = {
> > +	{ "sbs-battery", 0 },
> 
> You have to leave "bq20z75" here as is, and add "sbs-battery" as an
> additional device id.
> 
> The reason is that older device trees might already have compatible
> = "bq20z75", without specifying "sbs-battery".
> 
> Thanks!
> 

Good thought! I had thought about that at some point but apparently not
when actually working on the patch. Will do in v2.

-rhyland

  parent reply	other threads:[~2011-12-06  1:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 23:58 [PATCH 1/5] drivers: power: Rename bq20z75 to sbs-battery Rhyland Klein
     [not found] ` <1323129487-24859-1-git-send-email-rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-12-05 23:58   ` [PATCH 2/5] power: sbs-battery: rename internals to new name Rhyland Klein
2011-12-06  1:20     ` Anton Vorontsov
     [not found]       ` <20111206012012.GA3065-wnGakbxT3iijyJ0x5qLZdcN33GVbZNy3@public.gmane.org>
2011-12-06  1:20         ` Rhyland Klein [this message]
2011-12-05 23:58   ` [PATCH 3/5] Adding entry for Smart Battery Systems Rhyland Klein
2011-12-05 23:58   ` [PATCH 4/5] Rename propgated to dt binding documentation Rhyland Klein
2011-12-05 23:58 ` [PATCH 5/5] power: sbs-battery: Change power supply name Rhyland Klein
2011-12-06  1:33   ` Anton Vorontsov
2011-12-06 17:41 ` [PATCH 1/5] drivers: power: Rename bq20z75 to sbs-battery Matthew Garrett
     [not found]   ` <20111206174100.GA15449-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2011-12-14 19:26     ` Rhyland Klein
2011-12-14 19:51       ` Matthew Garrett

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=1323134410.24760.1.camel@rklein-linux2 \
    --to=rklein-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=cbouatmailru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 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).