mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
lp8727_charger: Make some cosmetic changes in lp8727_delayed_func()
Declare a variable at one line and align lines. Signed-off-by: Milo(Woogyom) Kim <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
This commit is contained in:
parent
20414e2e0e
commit
5e00b9761b
1 changed files with 5 additions and 3 deletions
|
|
@ -219,9 +219,11 @@ static void lp8727_enable_chgdet(struct lp8727_chg *pchg)
|
|||
|
||||
static void lp8727_delayed_func(struct work_struct *_work)
|
||||
{
|
||||
u8 intstat[LP8788_NUM_INTREGS], idno, vbus;
|
||||
struct lp8727_chg *pchg =
|
||||
container_of(_work, struct lp8727_chg, work.work);
|
||||
struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg,
|
||||
work.work);
|
||||
u8 intstat[LP8788_NUM_INTREGS];
|
||||
u8 idno;
|
||||
u8 vbus;
|
||||
|
||||
if (lp8727_read_bytes(pchg, LP8727_INT1, intstat, LP8788_NUM_INTREGS)) {
|
||||
dev_err(pchg->dev, "can not read INT registers\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue