commit | 64f48e593a54a8bee8bee4bf8391d5a4e9057d34 | [log] [tgz] |
---|---|---|
author | Joao Pinto <Joao.Pinto@synopsys.com> | Tue Mar 07 15:27:36 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 09 13:17:08 2017 -0800 |
tree | 52aad1e67c2bb00606215d716cf552ce40d06515 | |
parent | e3c36e483b4806a6bf28db411f79ea9aad61ec78 [diff] |
net: stmicro: replace kzalloc with devm_kzalloc The axi variable was not being freed upon device removal. With devm_kzalloc it ensures that it is properly freed. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>