aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2021-04-01 22:18:40 +0800
committerLee Jones <[email protected]>2021-04-14 16:06:52 +0100
commited25b4f00b61e109b29dc443dd1333b9b0da9bb4 (patch)
treead74902867fca6d33e715387e94f220c93f6382a
parentf2f2bc3c0cfc81ee70ad97833a5f788f5e58f600 (diff)
mfd: twl: Remove unused inline function twl4030charger_usb_en()
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Lee Jones <[email protected]>
-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