commit | c637aab05c9dd0894832a7c542a1553b2815b9ef | [log] [tgz] |
---|---|---|
author | Ahmed S. Darwish <ahmed.darwish@valeo.com> | Sat Mar 14 09:11:47 2015 -0400 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Sun Mar 22 23:50:11 2015 +0100 |
tree | 8e512526abe4dcbdeedae1fc7c9aef95d22dbf79 | |
parent | 2b290bbb60847c0897c047b5214192810de529df [diff] |
can: kvaser_usb: Use can-dev unregistration mechanism Use can-dev's unregister_candev() instead of directly calling networking unregister_netdev(). While both are functionally equivalent, unregister_candev() might do extra stuff in the future than just calling networking layer unregistration code. Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>