diff options
author | Tristram Ha <[email protected]> | 2019-02-22 16:36:51 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-24 17:49:59 -0800 |
commit | 7049f9b5d0529a8fefaae681e57baeb31bd2d40a (patch) | |
tree | c26ad7257c1ff015e2f2b9a6bdb55cb67874ea1a /lib/genalloc.c | |
parent | 6ca5081526228571a70ef0160fd44da3fe661ccb (diff) |
net: dsa: microchip: add port_cleanup function
Add port_cleanup function to reset some device variables when the port is
disabled. Add a mutex to make sure changing those variables is
thread-safe.
Signed-off-by: Tristram Ha <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions