Messages in this thread Patch in this message | | | From | Laurent Navet <> | Subject | [PATCH 1/3] drivers: pcmcia: at91_cf.c fix checkpatch error | Date | Mon, 21 Jan 2013 22:16:04 +0100 |
| |
fix this checkpatch error: - ERROR: switch and case should be at the same indent
Signed-off-by: Laurent Navet <laurent.navet@gmail.com> --- drivers/pcmcia/at91_cf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 01463c7..918be53 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c @@ -120,14 +120,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; } } -- 1.7.10.4
| |