mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
fbdev/sm501fb: Output message with fb_err()
Fix case were dev_err() is being called with struct fb_info.dev. Use fb_err() instead. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-30-tzimmermann@suse.de
This commit is contained in:
parent
ac8c813576
commit
1d4423d3f0
@ -1293,7 +1293,7 @@ static int sm501fb_sync(struct fb_info *info)
|
||||
count--;
|
||||
|
||||
if (count <= 0) {
|
||||
dev_err(info->dev, "Timeout waiting for 2d engine sync\n");
|
||||
fb_err(info, "Timeout waiting for 2d engine sync\n");
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user