From 525d0eb0b3e584d308cf3272ddb4158f9a55e77c Mon Sep 17 00:00:00 2001 From: Russell King Date: Wed, 31 Aug 2016 08:49:55 +0100 Subject: ARM: sa1100/neponset: remove neponset_ncr_* interfaces and header Remove the legacy neponset_ncr_*() interfaces and definitions, which leaves the header empty apart from the header and footer. Remove the header as well. Signed-off-by: Russell King --- arch/arm/mach-sa1100/neponset.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'arch/arm/mach-sa1100/neponset.c') diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c index 2b2fff442ba7..9d2ae7febca3 100644 --- a/arch/arm/mach-sa1100/neponset.c +++ b/arch/arm/mach-sa1100/neponset.c @@ -27,7 +27,6 @@ #include #include -#include #include #define NEP_IRQ_SMC91X 0 @@ -50,6 +49,7 @@ #define IRR_USAR (1 << 1) #define IRR_SA1111 (1 << 2) +#define NCR_GP01_OFF BIT(0) #define NCR_NGPIO 7 #define MDM_CTL0_NGPIO 4 #define MDM_CTL1_NGPIO 6 @@ -126,18 +126,6 @@ static struct gpiod_lookup_table neponset_pcmcia_table = { static struct neponset_drvdata *nep; -void neponset_ncr_frob(unsigned int mask, unsigned int val) -{ - struct neponset_drvdata *n = nep; - unsigned long m = mask, v = val; - - if (nep) - n->gpio[0]->set_multiple(n->gpio[0], &m, &v); - else - WARN(1, "nep unset\n"); -} -EXPORT_SYMBOL(neponset_ncr_frob); - /* * Install handler for Neponset IRQ. Note that we have to loop here * since the ETHERNET and USAR IRQs are level based, and we need to -- cgit