[PATCH -next] mfd: twl: Remove unused inline function twl4030charger_usb_en()

From: YueHaibing
Date: Thu Apr 01 2021 - 14:36:01 EST


There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
include/linux/mfd/twl.h | 2 --
1 file changed, 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
--
2.17.1