Skip to content

Commit dadeeff

Browse files
Thomas Zimmermannhdeller
authored andcommitted
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 <[email protected]> Reviewed-by: Michael J. Ruhl <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 73eb77e commit dadeeff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fbdev/hitfb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ static int hitfb_suspend(struct device *dev)
428428
{
429429
u16 v;
430430

431-
hitfb_blank(1,0);
431+
hitfb_blank(1, NULL);
432432
v = fb_readw(HD64461_STBCR);
433433
v |= HD64461_STBCR_SLCKE_IST;
434434
fb_writew(v, HD64461_STBCR);
@@ -446,7 +446,7 @@ static int hitfb_resume(struct device *dev)
446446
v = fb_readw(HD64461_STBCR);
447447
v &= ~HD64461_STBCR_SLCKE_IST;
448448
fb_writew(v, HD64461_STBCR);
449-
hitfb_blank(0,0);
449+
hitfb_blank(0, NULL);
450450

451451
return 0;
452452
}

0 commit comments

Comments
 (0)