r6040: rework init_one error handling
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Mon, 21 Jul 2008 10:32:29 +0000 (12:32 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 23 Jul 2008 00:00:01 +0000 (20:00 -0400)
This patch reworks the error handling in r6040_init_one
in order not to leak resources and correcly unmap and release
PCI regions of the MAC. Also prefix printk's with the driver name
for clarity.

Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found