video: fbdev: i740fb: use memset_io() to clear screen
authorOndrej Zary <linux@zary.sk>
Sun, 10 Apr 2022 20:28:33 +0000 (22:28 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 11 Apr 2022 06:23:50 +0000 (08:23 +0200)
commit12acdbd7ca7d8b3ac0f55d8069f52c223d8d23fd
tree21702e11c15f7b3007e4f4a92078ae92cb2e8345
parent7015bb57c304bad7289e872c2c5c587adee3a756
video: fbdev: i740fb: use memset_io() to clear screen

sparse complains that using memset() on __iomem pointer is wrong:
incorrect type in argument 1 (different address spaces)

Use memset_io() to clear screen instead.

Tested on real i740 cards.

Signed-off-by: Ondrej Zary <linux@zary.sk>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/i740fb.c