summaryrefslogtreecommitdiffstats
path: root/drivers/video/modedb.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-08 00:38:27 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:28 -0700
commit88b229c7f714e5385bbf5be031beb3866efeb272 (patch)
tree8ed68e29ceb333afcea4e8c21ee585f1e377fa9e /drivers/video/modedb.c
parent36cc535b852bd59d04c43fe8e4c05c7da46bc625 (diff)
downloadtalos-op-linux-88b229c7f714e5385bbf5be031beb3866efeb272.tar.gz
talos-op-linux-88b229c7f714e5385bbf5be031beb3866efeb272.zip
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/video/modedb.c')
-rw-r--r--drivers/video/modedb.c4
1 files changed, 2 insertions, 2 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)
for (;; name++) {
switch (*name) {
- case '0'...'9':
+ case '0' ... '9':
val = 10*val+(*name-'0');
break;
default:
@@ -548,7 +548,7 @@ int fb_find_mode(struct fb_var_screeninfo *var,
} else
goto done;
break;
- case '0'...'9':
+ case '0' ... '9':
break;
case 'M':
if (!yres_specified)
OpenPOWER on IntegriCloud