Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: tc6387xb: Drop disable callback that is never called

The driver never calls the disable callback, so drop the member from
the platform struct and all callbacks from the actual platform datas.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220530192430.2108217-4-u.kleine-koenig@pengutronix.de

authored by

Uwe Kleine-König and committed by
Lee Jones
6e1f1b1c 128ac294

-2
-1
arch/arm/mach-pxa/eseries.c
··· 139 139 140 140 static struct tc6387xb_platform_data e330_tc6387xb_info = { 141 141 .enable = &eseries_tmio_enable, 142 - .disable = &eseries_tmio_disable, 143 142 .suspend = &eseries_tmio_suspend, 144 143 .resume = &eseries_tmio_resume, 145 144 };
-1
include/linux/mfd/tc6387xb.h
··· 12 12 13 13 struct tc6387xb_platform_data { 14 14 int (*enable)(struct platform_device *dev); 15 - int (*disable)(struct platform_device *dev); 16 15 int (*suspend)(struct platform_device *dev); 17 16 int (*resume)(struct platform_device *dev); 18 17 };