Browse Source

lp8727_charger: Make lp8727_ctrl_switch() inline

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Kim, Milo 13 years ago
parent
commit
91a696330c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/power/lp8727_charger.c

+ 1 - 1
drivers/power/lp8727_charger.c

@@ -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);
 }