cirrusfb: fix error paths in cirrusfb_xxx_register()
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 31 Mar 2009 22:25:12 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:28 +0000 (08:59 -0700)
commitbc5d8ac02f24d68efe8e267c96dd75c0531009ab
tree0876991e7a956532428169a10939588e9399a395
parent9e848062533207130667f6eaa748549367ccbedf
cirrusfb: fix error paths in cirrusfb_xxx_register()

Balance iomap and iounmap and alloc and free calls in case of error druing
device register (probing).

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/cirrusfb.c