diff options
author | Laurent Navet <laurent.navet@gmail.com> | 2013-06-06 10:24:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 12:57:42 -0700 |
commit | d652f7022b359afd5d34fc9fffd71df118521ead (patch) | |
tree | 94104795ab9e44cac1adb3b40eb2a2c4e5f3e5ef /drivers/pcmcia | |
parent | 43f50752256d8374602559832eaddd0cbf5aad64 (diff) | |
download | linux-stable-d652f7022b359afd5d34fc9fffd71df118521ead.tar.gz linux-stable-d652f7022b359afd5d34fc9fffd71df118521ead.tar.bz2 linux-stable-d652f7022b359afd5d34fc9fffd71df118521ead.zip |
pcmcia/trivial: at91_cf: fix checkpatch error
fix this checkpatch error:
- ERROR: switch and case should be at the same indent
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/at91_cf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 8ddc57c5bc47..b8f5acf02261 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c @@ -119,14 +119,14 @@ at91_cf_set_socket(struct pcmcia_socket *sock, struct socket_state_t *s) /* switch Vcc if needed and possible */ if (gpio_is_valid(cf->board->vcc_pin)) { switch (s->Vcc) { - case 0: - gpio_set_value(cf->board->vcc_pin, 0); - break; - case 33: - gpio_set_value(cf->board->vcc_pin, 1); - break; - default: - return -EINVAL; + case 0: + gpio_set_value(cf->board->vcc_pin, 0); + break; + case 33: + gpio_set_value(cf->board->vcc_pin, 1); + break; + default: + return -EINVAL; } } |