Re: [PATCH 2/5] power: sbs-battery: rename internals to new name

From: Anton Vorontsov
Date: Mon Dec 05 2011 - 20:20:17 EST


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!

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/