mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
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>
This commit is contained in:
parent
43f5075225
commit
d652f7022b
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user