diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2012-08-31 09:25:45 +0000 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-20 18:05:28 -0700 |
commit | 91a696330ce4137eef7ad5712c9269a52dc261d4 (patch) | |
tree | 7c0a35b3519cb5fa97609be7c8caa822526e1a17 /drivers | |
parent | 70be1305294ad50a45a8f4134152d5d6e79c922e (diff) | |
download | linux-91a696330ce4137eef7ad5712c9269a52dc261d4.tar.gz linux-91a696330ce4137eef7ad5712c9269a52dc261d4.tar.bz2 linux-91a696330ce4137eef7ad5712c9269a52dc261d4.zip |
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')
-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) 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); } |