[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210401141840.25996-1-yuehaibing@huawei.com>
Date:   Thu, 1 Apr 2021 22:18:40 +0800
From:   YueHaibing <yuehaibing@...wei.com>
To:     <lee.jones@...aro.org>, <yuehaibing@...wei.com>
CC:     <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] mfd: twl: Remove unused inline function twl4030charger_usb_en()
There is no caller in tree, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
 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
Powered by blists - more mailing lists
 
