projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70be130
)
lp8727_charger: Make lp8727_ctrl_switch() inline
author
Kim, Milo
<Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:25:45 +0000
(09:25 +0000)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:05:28 +0000
(18:05 -0700)
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/lp8727_charger.c
b/drivers/power/lp8727_charger.c
index 47cce4166c157b766b20e3bda6e1184bcbf5a313..880bb7b982336030055b400a9423c130e2f8ff77 100644
(file)
--- 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);
}