bcm63xx_enet: replace devm_request_and_ioremap by devm_ioremap_resource
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 19 Aug 2013 11:20:39 +0000 (13:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 06:22:16 +0000 (23:22 -0700)
commitf607e059505cd3c3e96096d09f5882eb6421320a
tree6628c673b8e1b599b570f96fa10ff0c47dec49f1
parent84ce22df92f5cf9ecb76d53f4bf5f6d504684540
bcm63xx_enet: replace devm_request_and_ioremap by devm_ioremap_resource

Use devm_ioremap_resource instead of devm_request_and_ioremap.

This was done using the semantic patch
scripts/coccinelle/api/devm_ioremap_resource.cocci

The relevant call to platform_get_resource was manually moved down to the
call to devm_ioremap_resource.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c