aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-08 03:38:27 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:28 -0400
commit88b229c7f714e5385bbf5be031beb3866efeb272 (patch)
tree8ed68e29ceb333afcea4e8c21ee585f1e377fa9e /drivers
parent36cc535b852bd59d04c43fe8e4c05c7da46bc625 (diff)
VIDEO: add spaces on either side of the case "..." operator
Following the programming advice laid down in the gcc manual, make sure the case "..." operator has spaces on either side. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/modedb.c4
-rw-r--r--drivers/video/pxafb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c
index 3e517940c5a5..3741ad729401 100644
--- a/drivers/video/modedb.c
+++ b/drivers/video/modedb.c
@@ -395,7 +395,7 @@ static int my_atoi(const char *name)
395 395
396 for (;; name++) { 396 for (;; name++) {
397 switch (*name) { 397 switch (*name) {
398 case '0'...'9': 398 case '0' ... '9':
399 val = 10*val+(*name-'0'); 399 val = 10*val+(*name-'0');
400 break; 400 break;
401 default: 401 default:
@@ -548,7 +548,7 @@ int fb_find_mode(struct fb_var_screeninfo *var,
548 } else 548 } else
549 goto done; 549 goto done;
550 break; 550 break;
551 case '0'...'9': 551 case '0' ... '9':
552 break; 552 break;
553 case 'M': 553 case 'M':
554 if (!yres_specified) 554 if (!yres_specified)
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c
index 0b195f33f84f..81e571d59b50 100644
--- a/drivers/video/pxafb.c
+++ b/drivers/video/pxafb.c
@@ -1203,7 +1203,7 @@ static int __init pxafb_parse_options(struct device *dev, char *options)
1203 } else 1203 } else
1204 goto done; 1204 goto done;
1205 break; 1205 break;
1206 case '0'...'9': 1206 case '0' ... '9':
1207 break; 1207 break;
1208 default: 1208 default:
1209 goto done; 1209 goto done;