You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
6f673d83ca
commit
82006d0841
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user