aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1100_nanoengine.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-14 11:21:50 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 09:27:04 -0500
commit1c3d038bd5fb9dc868bb7474caaddc7aea4d562e (patch)
treeec853560944959c1ac0ff9a7bd4ed89a3fd4e4af /drivers/pcmcia/sa1100_nanoengine.c
parenta7670151a48cc54fafd8f1b4f04a1495c2f8b6f0 (diff)
PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers
soc_common already initializes state.wrprot to zero, so explicitly setting wrprot to zero in the socket drivers has no additional effect. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/sa1100_nanoengine.c')
-rw-r--r--drivers/pcmcia/sa1100_nanoengine.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/sa1100_nanoengine.c b/drivers/pcmcia/sa1100_nanoengine.c
index cb43e39aef3f..35c30ff41e81 100644
--- a/drivers/pcmcia/sa1100_nanoengine.c
+++ b/drivers/pcmcia/sa1100_nanoengine.c
@@ -106,7 +106,6 @@ static void nanoengine_pcmcia_socket_state(
106 106
107 state->bvd1 = 1; 107 state->bvd1 = 1;
108 state->bvd2 = 1; 108 state->bvd2 = 1;
109 state->wrprot = 0; /* Not available */
110 state->vs_3v = 1; /* Can only apply 3.3V */ 109 state->vs_3v = 1; /* Can only apply 3.3V */
111 state->vs_Xv = 0; 110 state->vs_Xv = 0;
112} 111}