sfc: Fix memory BAR release call on error path
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:49:15 +0000 (12:49 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:54:35 +0000 (18:54 -0400)
commite1074a0d966ac372bb0abd5eee926a0b57316582
tree73d8dde75b77ce410e5a2ca4962f854366a2c615
parent88c59425139c0cd9984ca8f1ef577959326446d3
sfc: Fix memory BAR release call on error path

Match pci_request_region() with pci_release_region(), not
release_mem_region().

From: Steve Hodgson <shodgson@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c