mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
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:
parent
73eb77e75a
commit
dadeeffbe5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user