staging: vme: devices: add spaces around '-'
authorJunsu Shin <jjunes0@gmail.com>
Tue, 11 Aug 2015 22:44:56 +0000 (17:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:56:54 +0000 (18:56 -0700)
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>
drivers/staging/vme/devices/vme_pio2_core.c

index 934115477f9826ed403bb725c5305d9ee161d304..35c6ce5047de752bae7086ba92aaf8d8abdbb089 100644 (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;
                }
        }