staging: vme: devices: add spaces around '-'

This is a patch to the vme_pio2_core.c that adds spaces around '-'.

Signed-off-by: Junsu Shin <jjunes0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Junsu Shin 2015-08-11 17:44:56 -05:00 committed by Greg Kroah-Hartman
parent a8f401f9e7
commit bda9e24909

View file

@ -259,22 +259,22 @@ static int pio2_probe(struct vme_dev *vdev)
for (i = 1; i < PIO2_VARIANT_LENGTH; i++) {
switch (card->variant[i]) {
case '0':
card->bank[i-1].config = NOFIT;
card->bank[i - 1].config = NOFIT;
break;
case '1':
case '2':
case '3':
case '4':
card->bank[i-1].config = INPUT;
card->bank[i - 1].config = INPUT;
break;
case '5':
card->bank[i-1].config = OUTPUT;
card->bank[i - 1].config = OUTPUT;
break;
case '6':
case '7':
case '8':
case '9':
card->bank[i-1].config = BOTH;
card->bank[i - 1].config = BOTH;
break;
}
}