From: YueHaibing Date: Thu, 1 Apr 2021 14:18:40 +0000 (+0800) Subject: mfd: twl: Remove unused inline function twl4030charger_usb_en() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ed25b4f00b61e109b29dc443dd1333b9b0da9bb4;p=linux.git mfd: twl: Remove unused inline function twl4030charger_usb_en() There is no caller in tree, so can remove it. Signed-off-by: YueHaibing Signed-off-by: Lee Jones --- 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