sgiioc4: fix error cleanup path (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 23 Oct 2008 21:22:06 +0000 (23:22 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 23 Oct 2008 21:22:06 +0000 (23:22 +0200)
commit3059ef99a167da6d5d77701fda5b905d985e31af
treea3475fd12b804a9bd52ad6e54446ed2bc5f969e0
parentd2441183dc222d12961ff2201f5086c846505d93
sgiioc4: fix error cleanup path (take 2)

The driver "forgot" to call iounmap() iff request_mem_region() call failed in
sgiioc4_ide_setup_pci_device()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: jeremy@sgi.com
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/sgiioc4.c