summaryrefslogtreecommitdiff
path: root/include/linux/mfd/twl.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-04-01 17:18:40 +0300
committerLee Jones <lee.jones@linaro.org>2021-04-14 18:06:52 +0300
commited25b4f00b61e109b29dc443dd1333b9b0da9bb4 (patch)
treead74902867fca6d33e715387e94f220c93f6382a /include/linux/mfd/twl.h
parentf2f2bc3c0cfc81ee70ad97833a5f788f5e58f600 (diff)
downloadlinux-ed25b4f00b61e109b29dc443dd1333b9b0da9bb4.tar.xz
mfd: twl: Remove unused inline function twl4030charger_usb_en()
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/twl.h')
-rw-r--r--include/linux/mfd/twl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/twl.h b/include/linux/mfd/twl.h
index 089e8942223a..8871cc5188a0 100644
--- a/include/linux/mfd/twl.h
+++ b/include/linux/mfd/twl.h
@@ -781,8 +781,6 @@ int twl4030_sih_setup(struct device *dev, int module, int irq_base);
#define TWL4030_VAUX3_DEV_GRP 0x1F
#define TWL4030_VAUX3_DEDICATED 0x22
-static inline int twl4030charger_usb_en(int enable) { return 0; }
-
/*----------------------------------------------------------------------*/
/* Linux-specific regulator identifiers ... for now, we only support