diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2012-08-31 05:25:45 -0400 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-20 21:05:28 -0400 |
commit | 91a696330ce4137eef7ad5712c9269a52dc261d4 (patch) | |
tree | 7c0a35b3519cb5fa97609be7c8caa822526e1a17 /drivers/power | |
parent | 70be1305294ad50a45a8f4134152d5d6e79c922e (diff) |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/lp8727_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c index 47cce4166c15..880bb7b98233 100644 --- a/drivers/power/lp8727_charger.c +++ b/drivers/power/lp8727_charger.c | |||
@@ -169,7 +169,7 @@ static int lp8727_is_usb_charger(struct lp8727_chg *pchg) | |||
169 | return val & LP8727_CHPORT; | 169 | return val & LP8727_CHPORT; |
170 | } | 170 | } |
171 | 171 | ||
172 | static void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) | 172 | static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) |
173 | { | 173 | { |
174 | lp8727_write_byte(pchg, LP8727_SWCTRL, sw); | 174 | lp8727_write_byte(pchg, LP8727_SWCTRL, sw); |
175 | } | 175 | } |