Commit 91a69633 authored by Kim, Milo's avatar Kim, Milo Committed by Anton Vorontsov

lp8727_charger: Make lp8727_ctrl_switch() inline

Signed-off-by: default avatarMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 70be1305
......@@ -169,7 +169,7 @@ static int lp8727_is_usb_charger(struct lp8727_chg *pchg)
return val & LP8727_CHPORT;
}
static void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw)
static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw)
{
lp8727_write_byte(pchg, LP8727_SWCTRL, sw);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment