mfd: twl: Remove unused inline function twl4030charger_usb_en()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 1 Apr 2021 14:18:40 +0000 (22:18 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:52 +0000 (16:06 +0100)
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>
include/linux/mfd/twl.h

index 089e8942223aad45a5be75f423b85781ff8688b9..8871cc5188a09b46d0154066cbb4e31d102c01f9 100644 (file)
@@ -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