Message ID | 1270656268-7034-3-git-send-email-felipe.balbi@nokia.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/drivers/cbus/cbus.c b/drivers/cbus/cbus.c index c0b4248..f454e77 100644 --- a/drivers/cbus/cbus.c +++ b/drivers/cbus/cbus.c @@ -279,7 +279,9 @@ static void __exit cbus_bus_remove(struct platform_device *pdev) gpio_free(chost->dat_gpio); gpio_free(chost->clk_gpio); + kfree(chost); + cbus_host = NULL; } static struct platform_driver cbus_driver = {