aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 05:27:04 -0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-20 21:07:06 -0400
commit1ae9df7d49e964b53f72254b20ab7eb713306396 (patch)
tree066bc9dac885ed3404e8ed77f6e25bdab0760df9 /drivers
parent56d99ed93a52489da3c0f84424489390b6cb0312 (diff)
lp8727_charger: Add description in the private data
Add description and relocate data. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/lp8727_charger.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index c0a6feab79ec..9f25e151a36d 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -88,13 +88,17 @@ struct lp8727_chg {
88 struct device *dev; 88 struct device *dev;
89 struct i2c_client *client; 89 struct i2c_client *client;
90 struct mutex xfer_lock; 90 struct mutex xfer_lock;
91 struct delayed_work work;
92 struct lp8727_platform_data *pdata;
93 struct lp8727_psy *psy; 91 struct lp8727_psy *psy;
94 struct lp8727_chg_param *chg_param; 92 struct lp8727_platform_data *pdata;
93
94 /* Charger Data */
95 enum lp8727_dev_id devid; 95 enum lp8727_dev_id devid;
96 unsigned long debounce_jiffies; 96 struct lp8727_chg_param *chg_param;
97
98 /* Interrupt Handling */
97 int irq; 99 int irq;
100 struct delayed_work work;
101 unsigned long debounce_jiffies;
98}; 102};
99 103
100static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len) 104static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len)