summaryrefslogtreecommitdiffstats
path: root/drivers/power/pm2301_charger.h
diff options
context:
space:
mode:
authorLoic Pallardy <loic.pallardy@stericsson.com>2012-05-10 15:28:06 +0200
committerLee Jones <lee.jones@linaro.org>2013-01-23 15:39:14 +0100
commit8757a08ea2dfe1824c19ed1c17b307e77a91ec82 (patch)
treedaa96faf7fff7715b5464fd38063d1ffa9672e57 /drivers/power/pm2301_charger.h
parentpm2301: Clean-up PM2301 interrupt management (diff)
downloadlinux-8757a08ea2dfe1824c19ed1c17b307e77a91ec82.tar.xz
linux-8757a08ea2dfe1824c19ed1c17b307e77a91ec82.zip
pm2301: Remove volt_now & curr_now properties
There is no support to measure the main charger voltage and current using AB9540 gpadc. Therefore this has been removed from the driver. Signed-off-by: Rajkumar Kasirajan <rajkumar.kasirajan@stericsson.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com> Tested-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Diffstat (limited to 'drivers/power/pm2301_charger.h')
-rw-r--r--drivers/power/pm2301_charger.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/pm2301_charger.h b/drivers/power/pm2301_charger.h
index 419014714c2f..da804716aa82 100644
--- a/drivers/power/pm2301_charger.h
+++ b/drivers/power/pm2301_charger.h
@@ -456,7 +456,6 @@ enum pm2xxx_source_reg_int6 {
struct pm2xxx_charger_info {
int charger_connected;
int charger_online;
- int charger_voltage;
int cv_active;
bool wd_expired;
};