viafb: Fix initialization error paths
authorJonathan Corbet <corbet@lwn.net>
Fri, 30 Apr 2010 16:03:57 +0000 (10:03 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:40 +0000 (17:17 -0600)
Properly localize error cleanup, and make sure that the iomem regions are
unmapped if framebuffer initialization fails.

Reported-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

No differences found