]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: switch to devm_ calls and remove kfree calls
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Oct 2015 14:40:37 +0000 (15:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:56:09 +0000 (04:56 -0700)
commit35239f629ee5a6da9293898819ee1470efb25248
tree8b4ec5226bd82050a1ad66aef2bf751b0e326049
parent028414a0328527e9a5a654e2bdd01eec38fc97ff
net: dsa: switch to devm_ calls and remove kfree calls

Now the kfree calls exists in the the remove functions, remove them in all
places except the of_probe functions and replace allocation calls
with their devm_ counterparts.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c