net: ethernet: ti: cpdma: use devm_ioremap
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 6 Jan 2017 20:07:32 +0000 (14:07 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jan 2017 01:48:14 +0000 (20:48 -0500)
commit7f3b490aaacd789ebc0e26e47b7706547afd0438
tree1bbda0e09826038bf7a6d6fff02cefe0a9dc29cf
parent5fcc40a90064822d31328ced3e3e69bc7d6cfe27
net: ethernet: ti: cpdma: use devm_ioremap

Use devm_ioremap() and simplify the code.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c