lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/5] power: sbs-battery: rename internals to new name
From
Date
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



\
 
 \ /
  Last update: 2011-12-06 02:23    [W:0.078 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site