Skip to content

Commit ed25b4f

Browse files
YueHaibingLee Jones
authored andcommitted
mfd: twl: Remove unused inline function twl4030charger_usb_en()
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>
1 parent f2f2bc3 commit ed25b4f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/linux/mfd/twl.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,6 @@ int twl4030_sih_setup(struct device *dev, int module, int irq_base);
781781
#define TWL4030_VAUX3_DEV_GRP 0x1F
782782
#define TWL4030_VAUX3_DEDICATED 0x22
783783

784-
static inline int twl4030charger_usb_en(int enable) { return 0; }
785-
786784
/*----------------------------------------------------------------------*/
787785

788786
/* Linux-specific regulator identifiers ... for now, we only support

0 commit comments

Comments
 (0)