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

Signed-off-by: Junsu Shin <jjun...@gmail.com>
---
 drivers/staging/vme/devices/vme_pio2_core.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_pio2_core.c 
b/drivers/staging/vme/devices/vme_pio2_core.c
index 9341154..35c6ce5 100644
--- a/drivers/staging/vme/devices/vme_pio2_core.c
+++ b/drivers/staging/vme/devices/vme_pio2_core.c
@@ -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;
                }
        }
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to