Jisheng Zhang 03536cc3ad net: mdio-sun4i: Convert to devm_* api
Use devm_ioremap_resource instead of of_iomap() and devm_kzalloc()
instead of kmalloc() to make cleanup paths simpler. This patch also
fixes the resource leak caused by missing corresponding iounamp()
of the of_iomap().

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-29 14:54:49 -04:00
..
2012-06-11 16:58:24 -07:00
2013-03-09 16:09:17 -05:00
2013-05-31 00:48:22 -07:00
2012-06-11 16:58:24 -07:00
2012-12-07 14:26:15 -05:00
2013-05-31 00:48:22 -07:00