lkml.org 
[lkml]   [2011]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 31 Jan 2011 16:19:52 +0300
FromAnton Vorontsov <>
SubjectRe: [PATCH v3] power: bq20z75: add support for charge properties
On Tue, Jan 25, 2011 at 11:10:06AM -0800, rklein@nvidia.com wrote:
> From: Rhyland Klein <rklein@nvidia.com>
>
> 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@nvidia.com>
> ---

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@gmail.com


\
 
 \ /
  Last update: 2011-01-31 14:23    [from the cache]
©2003-2010