summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/sa1100_badge4.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-12-20 03:04:22 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-04 18:32:23 +0400
commit81f33c65e6c09597e748288010476861ac5bd166 (patch)
treefdc080d5d7ca25dfe4a033f31f419d8bb1124e7d /drivers/pcmcia/sa1100_badge4.c
parenta9bb5a4bf9f84256499c802fd397d56d55227e4f (diff)
downloadlinux-81f33c65e6c09597e748288010476861ac5bd166.tar.xz
PCMCIA: sa1111: use new per-socket irq/gpio infrastructure
Convert sa1111 PCMCIA drivers to use the new per-socket irq/gpio infrastructure. As the core takes care of handling the IRQs, we can get rid of sa1111_pcmcia_socket_init(), sa1111_pcmcia_socket_suspend(), sa1111_pcmcia_hw_init() and sa1111_pcmcia_hw_shutdown(), as well as the private IRQ table. We remove the NCR_0 setting in Neponset, as this is duplicating what's already done via configure_socket in suspend. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/sa1100_badge4.c')
-rw-r--r--drivers/pcmcia/sa1100_badge4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/sa1100_badge4.c b/drivers/pcmcia/sa1100_badge4.c
index 1ce53f493bef..ca97cb863896 100644
--- a/drivers/pcmcia/sa1100_badge4.c
+++ b/drivers/pcmcia/sa1100_badge4.c
@@ -128,7 +128,6 @@ badge4_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state
static struct pcmcia_low_level badge4_pcmcia_ops = {
.owner = THIS_MODULE,
.configure_socket = badge4_pcmcia_configure_socket,
- .socket_init = sa1111_pcmcia_socket_init,
.first = 0,
.nr = 2,
};