2021-04-01 18:36:47

by Yue Haibing

[permalink] [raw]
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 <[email protected]>
---
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


2021-04-14 14:53:03

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH -next] mfd: twl: Remove unused inline function twl4030charger_usb_en()

On Thu, 01 Apr 2021, YueHaibing wrote:

> There is no caller in tree, so can remove it.
>
> Signed-off-by: YueHaibing <[email protected]>
> ---
> include/linux/mfd/twl.h | 2 --
> 1 file changed, 2 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog