mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
fbdev/pxa168fb: Do not assign to struct fb_info.dev
Do not assign the hardware device to struct fb_info.dev. The field references the fbdev software device, which is unrelated. 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-21-tzimmermann@suse.de
This commit is contained in:
parent
3b4a4dfaa2
commit
52a46bb2fc
@ -629,7 +629,7 @@ static int pxa168fb_probe(struct platform_device *pdev)
|
||||
fbi = info->par;
|
||||
fbi->info = info;
|
||||
fbi->clk = clk;
|
||||
fbi->dev = info->dev = &pdev->dev;
|
||||
fbi->dev = &pdev->dev;
|
||||
fbi->panel_rbswap = mi->panel_rbswap;
|
||||
fbi->is_blanked = 0;
|
||||
fbi->active = mi->active;
|
||||
|
Loading…
Reference in New Issue
Block a user