Messages in this thread |  | | | Date | Mon, 31 Jan 2011 16:19:52 +0300 | | From | Anton Vorontsov <> | | Subject | Re: [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
|  |