summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/pcmcia/pxa2xx_hx4700.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/pcmcia/pxa2xx_hx4700.c b/drivers/pcmcia/pxa2xx_hx4700.c
index 87b6a1639d94..a864b0d139ab 100644
--- a/drivers/pcmcia/pxa2xx_hx4700.c
+++ b/drivers/pcmcia/pxa2xx_hx4700.c
@@ -50,13 +50,6 @@ static void hx4700_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt)
gpio_free_array(gpios, ARRAY_SIZE(gpios));
}
-static void hx4700_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
- struct pcmcia_state *state)
-{
- state->vs_3v = 1;
- state->vs_Xv = 0;
-}
-
static int hx4700_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
const socket_state_t *state)
{
@@ -82,7 +75,7 @@ static struct pcmcia_low_level hx4700_pcmcia_ops = {
.nr = 1,
.hw_init = hx4700_pcmcia_hw_init,
.hw_shutdown = hx4700_pcmcia_hw_shutdown,
- .socket_state = hx4700_pcmcia_socket_state,
+ .socket_state = soc_common_cf_socket_state,
.configure_socket = hx4700_pcmcia_configure_socket,
};