summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-03 10:17:06 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-04 01:54:16 +0200
commit207bdf1844286d2ba94523d30528f82aaf33d52b (patch)
tree179f5a55053ae8b092339cf39b69fb8aa66d109e /drivers/rpmsg
parentnet: ethernet: ti: cpsw: fix rx-usecs interrupt pacing consistency (diff)
downloadlinux-207bdf1844286d2ba94523d30528f82aaf33d52b.tar.xz
linux-207bdf1844286d2ba94523d30528f82aaf33d52b.zip
net-next: mediatek: use mdiobus_free() in favour of kfree()
The driver currently uses kfree() to clear the mii_bus. This is not the correct way to clear the memory and mdiobus_free() should be used instead. This patch fixes the two instances where this happens in the driver. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions