Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ae9df7d authored by Kim, Milo's avatar Kim, Milo Committed by Anton Vorontsov
Browse files

lp8727_charger: Add description in the private data



Add description and relocate data.

Signed-off-by: default avatarMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 56d99ed9
Loading
Loading
Loading
Loading
+8 −4
Original line number Original line Diff line number Diff line
@@ -88,13 +88,17 @@ struct lp8727_chg {
	struct device *dev;
	struct device *dev;
	struct i2c_client *client;
	struct i2c_client *client;
	struct mutex xfer_lock;
	struct mutex xfer_lock;
	struct delayed_work work;
	struct lp8727_platform_data *pdata;
	struct lp8727_psy *psy;
	struct lp8727_psy *psy;
	struct lp8727_chg_param *chg_param;
	struct lp8727_platform_data *pdata;

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

	/* Interrupt Handling */
	int irq;
	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)
static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len)