viafb: Unmap the frame buffer on initialization error
authorJonathan Corbet <corbet@lwn.net>
Fri, 26 Mar 2010 21:45:39 +0000 (15:45 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Apr 2010 20:23:18 +0000 (14:23 -0600)
commit1b1f8cd299d3c5a90c2ec1c24c271a0b536e5891
tree201d87dfb84587e9c19f1eac2157185e395fb578
parentb72a5070c74f5ca9a45a03c2d625daab66d0a820
viafb: Unmap the frame buffer on initialization error

This was part of Harald's "make viafb a first-class citizen using
pci_driver" patch, but somehow got dropped when that patch went into
mainline.

Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/video/via/viafbdev.c