From: rklein@nvidia.com
To: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: olof@lixom.net, linux-kernel@vger.kernel.org,
Rhyland Klein <rklein@nvidia.com>
Subject: [PATCH 4/4] power_supply: update power_supply_is_watt_property
Date: Mon, 28 Feb 2011 16:55:31 -0800 [thread overview]
Message-ID: <1298940931-17552-5-git-send-email-rklein@nvidia.com> (raw)
In-Reply-To: <1298940931-17552-1-git-send-email-rklein@nvidia.com>
From: Rhyland Klein <rklein@nvidia.com>
Update the power_supply_is_watt_property function to include POWER_NOW.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
---
include/linux/power_supply.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 20f23fe..204c18d 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -251,6 +251,7 @@ static inline bool power_supply_is_watt_property(enum power_supply_property psp)
case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN:
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
case POWER_SUPPLY_PROP_VOLTAGE_AVG:
+ case POWER_SUPPLY_PROP_POWER_NOW:
return 1;
default:
break;
--
1.7.0.4
next prev parent reply other threads:[~2011-03-01 0:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 0:55 [PATCH 0/4] power: bq20z75: update support rklein
2011-03-01 0:55 ` [PATCH 1/4] power: bq20z75: add optional battery detect gpio rklein
2011-03-01 0:55 ` [PATCH 2/4] power: bq20z75: add i2c retry mechanism rklein
2011-03-01 0:55 ` [PATCH 3/4] power: bq20z75: add support for POWER_NOW rklein
2011-03-01 19:39 ` Anton Vorontsov
2011-03-01 0:55 ` rklein [this message]
2011-03-01 19:41 ` [PATCH 0/4] power: bq20z75: update support Anton Vorontsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298940931-17552-5-git-send-email-rklein@nvidia.com \
--to=rklein@nvidia.com \
--cc=cbouatmailru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox