dsa: mv88e6xxx: Delete ppu timer when removing module
authorAndrew Lunn <andrew@lunn.ch>
Mon, 22 Aug 2016 14:01:03 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 04:08:08 +0000 (21:08 -0700)
commit930188ceca5fb2f755d4b900a92a6c295f43a434
treee775046e2013ff3bb4c2f850018997d76def86fd
parent2bbb33be037361882527c9c762cb9fc928ab0ff7
dsa: mv88e6xxx: Delete ppu timer when removing module

The PPU method of accessing PHYs makes use of a timer. Make sure this
timer is deleted before unloading the driver.

Reported-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c