summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@nuerscht.ch>2005-09-13 10:25:49 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 17:22:33 +0200
commit82006d084109bb4118f1de0dc5855abe5ccae430 (patch)
tree78118bcee8d509aa9a5a833ce3a2e607be3ada88 /include/video
parent[PATCH] arch/i386: Replace custom macro with isdigit() (diff)
downloadlinux-82006d084109bb4118f1de0dc5855abe5ccae430.tar.xz
linux-82006d084109bb4118f1de0dc5855abe5ccae430.zip
[PATCH] drivers/video: Replace custom macro with isdigit()
Replace the custom CHAR_IS_NUM() macro with isdigit() from <linux/ctype.h> Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Acked-by: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/pm3fb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/video/pm3fb.h b/include/video/pm3fb.h
index 8d3cef5d87a2..6f4ea808cf74 100644
--- a/include/video/pm3fb.h
+++ b/include/video/pm3fb.h
@@ -1142,9 +1142,6 @@
/* do we want accelerated console */
#define PM3FB_USE_ACCEL 1
-/* useful ? */
-#define CHAR_IS_NUM(a) ((((a) >= '0') && ((a) <= '9')) ? 1 : 0)
-
/* for driver debugging ONLY */
/* 0 = assert only, 1 = error, 2 = info, 3+ = verbose */
/* define PM3FB_MASTER_DEBUG 1 */