aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2013-08-26 21:11:57 +0800
committerDavid S. Miller <davem@davemloft.net>2013-08-29 14:54:49 -0400
commit03536cc3ad611f29a35803d37a44414b823135c3 (patch)
tree8e3cd7169ea628ddf9bff945084b9c000ea93d20 /drivers/Makefile
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next (diff)
downloadlinux-dev-03536cc3ad611f29a35803d37a44414b823135c3.tar.xz
linux-dev-03536cc3ad611f29a35803d37a44414b823135c3.zip
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>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions