usb: ohci-at91: replace request_mem_region + ioremap by devm_ioremap_resource
authorBoris BREZILLON <b.brezillon@overkiz.com>
Mon, 9 Dec 2013 08:51:53 +0000 (09:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:30:36 +0000 (16:30 -0800)
commitcca2bbb3083de44394cabe7b3e9937d44bcc8e19
treecd9e6204aa642c132c8a032a404495ad9e5f3133
parent4d90b819ae4c7ea8fd5e2bb7edc68c0f334be2e4
usb: ohci-at91: replace request_mem_region + ioremap by devm_ioremap_resource

Replace the request_mem_region + ioremap calls by the
devm_ioremap_resource call which does the same things but with device
managed resources.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c