summaryrefslogtreecommitdiff
path: root/Documentation
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-03 19:54:16 -0400
commit207bdf1844286d2ba94523d30528f82aaf33d52b (patch)
tree179f5a55053ae8b092339cf39b69fb8aa66d109e /Documentation
parent8478b6cdc10e8a7735deeb9d9e46ad5b157c84d0 (diff)
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 'Documentation')
0 files changed, 0 insertions, 0 deletions