aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/lp8727_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/lp8727_charger.c')
-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)