Skip to content

Commit

Permalink
lp8727_charger: Add description in the private data
Browse files Browse the repository at this point in the history
Add description and relocate data.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
  • Loading branch information
Kim, Milo authored and Anton Vorontsov committed Sep 21, 2012
1 parent 56d99ed commit 1ae9df7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions drivers/power/lp8727_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,17 @@ struct lp8727_chg {
struct device *dev;
struct i2c_client *client;
struct mutex xfer_lock;
struct delayed_work work;
struct lp8727_platform_data *pdata;
struct lp8727_psy *psy;
struct lp8727_chg_param *chg_param;
struct lp8727_platform_data *pdata;

/* Charger Data */
enum lp8727_dev_id devid;
unsigned long debounce_jiffies;
struct lp8727_chg_param *chg_param;

/* Interrupt Handling */
int irq;
struct delayed_work work;
unsigned long debounce_jiffies;
};

static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len)
Expand Down

0 comments on commit 1ae9df7

Please sign in to comment.