aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_cm_x255.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-07-13 10:54:57 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2011-07-29 11:55:13 -0400
commit7594549e8acec8123c45e26750b7820d9e938760 (patch)
treef6c374eb939831b2db5db283e36374c6f3e0c7b3 /drivers/pcmcia/pxa2xx_cm_x255.c
parenta747ce835e69069f9bccfb7791008127012cbf32 (diff)
pcmcia: pxa2xx: remove empty socket_init / socket_resume functions.
Now the are optional, let us get rid of the ones that don't have any content. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_cm_x255.c')
-rw-r--r--drivers/pcmcia/pxa2xx_cm_x255.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/pcmcia/pxa2xx_cm_x255.c b/drivers/pcmcia/pxa2xx_cm_x255.c
index 05913d0bbdb..63f4d5211ed 100644
--- a/drivers/pcmcia/pxa2xx_cm_x255.c
+++ b/drivers/pcmcia/pxa2xx_cm_x255.c
@@ -102,23 +102,12 @@ static int cmx255_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
102 return 0; 102 return 0;
103} 103}
104 104
105static void cmx255_pcmcia_socket_init(struct soc_pcmcia_socket *skt)
106{
107}
108
109static void cmx255_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt)
110{
111}
112
113
114static struct pcmcia_low_level cmx255_pcmcia_ops __initdata = { 105static struct pcmcia_low_level cmx255_pcmcia_ops __initdata = {
115 .owner = THIS_MODULE, 106 .owner = THIS_MODULE,
116 .hw_init = cmx255_pcmcia_hw_init, 107 .hw_init = cmx255_pcmcia_hw_init,
117 .hw_shutdown = cmx255_pcmcia_shutdown, 108 .hw_shutdown = cmx255_pcmcia_shutdown,
118 .socket_state = cmx255_pcmcia_socket_state, 109 .socket_state = cmx255_pcmcia_socket_state,
119 .configure_socket = cmx255_pcmcia_configure_socket, 110 .configure_socket = cmx255_pcmcia_configure_socket,
120 .socket_init = cmx255_pcmcia_socket_init,
121 .socket_suspend = cmx255_pcmcia_socket_suspend,
122 .nr = 1, 111 .nr = 1,
123}; 112};
124 113