Re: [PATCH v3] power: bq20z75: add support for charge properties

From: Anton Vorontsov
Date: Mon Jan 31 2011 - 08:20:05 EST


On Tue, Jan 25, 2011 at 11:10:06AM -0800, rklein@xxxxxxxxxx wrote:
> From: Rhyland Klein <rklein@xxxxxxxxxx>
>
> Adding support for charge properties for gas gauge.
> Also ensuring that battery mode is correct now for energy as well as
> charge properties by setting it on the fly.
>
> I also added 2 functions to power_supply.h to help identify the units for
> specific properties more easily by power supplies.
>
> Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>
> ---

Applied with some cosmetic changes.

[...]
> +static inline bool power_supply_is_amp_property(
> + enum power_supply_property psp){

Fixed style issues here.

[...]
> +static inline bool power_supply_is_watt_property(
> + enum power_supply_property psp){

And here.

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/