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>
This commit is contained in:
Robert P. J. Day 2007-05-08 00:38:27 -07:00 committed by Linus Torvalds
parent 36cc535b85
commit 88b229c7f7
2 changed files with 3 additions and 3 deletions

View file

@ -395,7 +395,7 @@ static int my_atoi(const char *name)
for (;; name++) { for (;; name++) {
switch (*name) { switch (*name) {
case '0'...'9': case '0' ... '9':
val = 10*val+(*name-'0'); val = 10*val+(*name-'0');
break; break;
default: default:
@ -548,7 +548,7 @@ int fb_find_mode(struct fb_var_screeninfo *var,
} else } else
goto done; goto done;
break; break;
case '0'...'9': case '0' ... '9':
break; break;
case 'M': case 'M':
if (!yres_specified) if (!yres_specified)

View file

@ -1203,7 +1203,7 @@ static int __init pxafb_parse_options(struct device *dev, char *options)
} else } else
goto done; goto done;
break; break;
case '0'...'9': case '0' ... '9':
break; break;
default: default:
goto done; goto done;