drivers: misc: use devm_ioremap_resource()
authorLaurent Navet <laurent.navet@gmail.com>
Thu, 2 May 2013 12:39:34 +0000 (14:39 +0200)
committer黄涛 <huangtao@rock-chips.com>
Thu, 21 Nov 2013 05:39:19 +0000 (13:39 +0800)
commite22253a9ee068ec84ac29b18c78fc4d5cadb652d
treefa3a78efb5bf478069095370006a1de7663a3f00
parent336430a16bbf240ba9305723c38384caa1f785a5
drivers: misc: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c