Commit 81b50572 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde Committed by Ben Hutchings

can: flexcan: flexcan_remove(): add missing netif_napi_del()

commit d96e43e8 upstream.

This patch adds the missing netif_napi_del() to the flexcan_remove() function.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent a523c634
......@@ -1027,6 +1027,7 @@ static int __devexit flexcan_remove(struct platform_device *pdev)
struct resource *mem;
unregister_flexcandev(dev);
netif_napi_del(&priv->napi);
platform_set_drvdata(pdev, NULL);
iounmap(priv->base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment