summaryrefslogtreecommitdiff
path: root/drivers/power/lp8727_charger.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 09:25:45 +0000
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-20 18:05:28 -0700
commit91a696330ce4137eef7ad5712c9269a52dc261d4 (patch)
tree7c0a35b3519cb5fa97609be7c8caa822526e1a17 /drivers/power/lp8727_charger.c
parent70be1305294ad50a45a8f4134152d5d6e79c922e (diff)
downloadlwn-91a696330ce4137eef7ad5712c9269a52dc261d4.tar.gz
lwn-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/power/lp8727_charger.c')
-rw-r--r--drivers/power/lp8727_charger.c2
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);
}