Paul Mundt 71ee9a6c6c usb: r8a66597-hcd: fix up error path.
Currently when registration fails we're left with a stray reference to
release_mem_region(), this leads to the following case:

    r8a66597_hcd r8a66597_hcd: irq 13, io base 0x18040000
    drivers/usb/host/r8a66597-hcd.c: register access fail.
    r8a66597_hcd r8a66597_hcd: startup error -6
    r8a66597_hcd r8a66597_hcd: USB bus 1 deregistered
    drivers/usb/host/r8a66597-hcd.c: Failed to add hcd
    Trying to free nonexistent resource <0000000018040000-0000000018040000>

This fixes it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-08-22 14:27:45 -07:00
..
2007-08-20 23:38:44 -07:00
2007-08-20 23:38:44 -07:00
2007-07-12 16:29:47 -07:00
2007-07-12 16:34:30 -07:00
2007-08-20 23:38:44 -07:00
2007-08-20 23:38:44 -07:00
2007-08-20 23:38:44 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:30 -07:00
2006-12-20 10:14:26 -08:00
2007-07-12 16:34:29 -07:00
2005-04-16 15:20:36 -07:00
2007-03-09 19:52:23 -08:00