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>
This commit is contained in:
Thomas Zimmermann 2023-06-06 12:40:56 +02:00 committed by Helge Deller
parent 73eb77e75a
commit dadeeffbe5

View File

@ -428,7 +428,7 @@ static int hitfb_suspend(struct device *dev)
{
u16 v;
hitfb_blank(1,0);
hitfb_blank(1, NULL);
v = fb_readw(HD64461_STBCR);
v |= HD64461_STBCR_SLCKE_IST;
fb_writew(v, HD64461_STBCR);
@ -446,7 +446,7 @@ static int hitfb_resume(struct device *dev)
v = fb_readw(HD64461_STBCR);
v &= ~HD64461_STBCR_SLCKE_IST;
fb_writew(v, HD64461_STBCR);
hitfb_blank(0,0);
hitfb_blank(0, NULL);
return 0;
}