Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev: hitfb: Use NULL for pointers

Replace integer constants with NULL. Resolves the following
warnings:

../drivers/video/fbdev/hitfb.c:447:23: warning: Using plain integer as NULL pointer
../drivers/video/fbdev/hitfb.c:465:23: warning: Using plain integer as NULL pointer

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Thomas Zimmermann and committed by
Helge Deller
dadeeffb 73eb77e7

+2 -2
+2 -2
drivers/video/fbdev/hitfb.c
··· 428 428 { 429 429 u16 v; 430 430 431 - hitfb_blank(1,0); 431 + hitfb_blank(1, NULL); 432 432 v = fb_readw(HD64461_STBCR); 433 433 v |= HD64461_STBCR_SLCKE_IST; 434 434 fb_writew(v, HD64461_STBCR); ··· 446 446 v = fb_readw(HD64461_STBCR); 447 447 v &= ~HD64461_STBCR_SLCKE_IST; 448 448 fb_writew(v, HD64461_STBCR); 449 - hitfb_blank(0,0); 449 + hitfb_blank(0, NULL); 450 450 451 451 return 0; 452 452 }