staging: dwc2: use devm_ioremap_resource()
authorLaurent Navet <laurent.navet@gmail.com>
Thu, 2 May 2013 11:23:17 +0000 (13:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:27:15 +0000 (15:27 -0700)
commit1b6cb29630ea1a10205d67901b94d4bfa2408f4c
treec4ae2ab94a003c6e6e0482442c1c660b2c3f3343
parent25f73e62aa8308e212fe6c3f29ddc2aac699c08a
staging: dwc2: use devm_ioremap_resource()

Replace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource.

Found with coccicheck and this semantic patch:
 scripts/coccinelle/api/devm_request_and_ioremap.cocci.

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Reviewed-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/pci.c