viafb: Fix initialization error paths
Properly localize error cleanup, and make sure that the iomem regions are unmapped if framebuffer initialization fails. Reported-by: NBruno Prémont <bonbons@linux-vserver.org> Signed-off-by: NJonathan Corbet <corbet@lwn.net>
Showing
想要评论请 注册 或 登录