]> git.hungrycats.org Git - linux/commit
[PATCH] radeonfb: cleanup and little fixes
authorDavid Eger <eger@havoc.gtf.org>
Mon, 23 Aug 2004 05:49:24 +0000 (22:49 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:49:24 +0000 (22:49 -0700)
commit1d59c3b9f040e05752aa934655b9048ef6878681
tree18c6b6ec083b3f3b1bf4ccdc38da7aef28f4915d
parentfde9e1da4c3abf6e445aa56325c75c25ffe89a8b
[PATCH] radeonfb: cleanup and little fixes

Very similar to Francois Romieu's fixes for cirrusfb, here we:
* Provide meaningful error values from radeonfb_pci_register()
* Fix unbalanced pci_enable_device()
* Fix unbalanced fb_alloc_cmap()
* Fix a failure-case bug where we accidentally memset_io(0, 0, size);
* Use pci_request_regions() instead of request_mem_region()

Signed-off-by: David Eger <eger@havoc.gtf.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/radeon_base.c