net:stmmac: convert driver to use devm_request_and_ioremap.
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Thu, 30 Aug 2012 05:51:09 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Aug 2012 20:11:37 +0000 (16:11 -0400)
commit3f8bdecd32ab8f52bff1d646e2acb7c241d12a8d
tree634c4bb232cfba0c6fab663b1f707fb0985b97d8
parentd56631a66c0d0c9d662abfb38cd1f6326eeebd7c
net:stmmac: convert driver to use devm_request_and_ioremap.

This patch moves calls to ioremap and request_mem_region to
devm_request_and_ioremap call.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c