commit | 7543a6d5359e371ce9434955dbe6a79f548ea321 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Apr 13 02:40:40 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 18:15:23 2016 -0400 |
tree | 84401371308e64ff4ca525e410619e5e223e5112 | |
parent | bbb8d793994c894eef2a48a35fac6de3c6b4fa93 [diff] |
net: dsa: Have the switch driver allocate there own private memory Now the switch devices have a dev pointer, make use of it for allocating the drivers private data structures using a devm_kzalloc(). Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>