]> err.no Git - linux-2.6/commit
drivers/block/umem: minor cleanups
authorJeff Garzik <jeff@garzik.org>
Thu, 27 Sep 2007 11:40:33 +0000 (07:40 -0400)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:59 +0000 (09:25 +0200)
commitee4a7b6874469244ed0e3b8fde20028e0bb52642
treec5643ff2221c502676529fea7a7748b10951cc23
parent4e0af881afee2b399854b1cdfdbe37e6ab6a09ca
drivers/block/umem: minor cleanups

* tab-align DRIVER_*, pci_driver entries

* reduced wasted memory by killing unused struct cardinfo members

* move free_irq() call above resource unmap, to fix tiny window where
  irq handler may access recently-unmapped memory

* propagate pci_enable_device() return value

* use pci_request_regions, pci_release_regions() for resource reservation

* call pci_disable_device() in pci_driver::remove()

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/block/umem.c