summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
37fbcee)
Attached patch makes tahvo_otg_dev NULL after free_irq.
Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
static int omap_otg_remove(struct device *dev)
{
static int omap_otg_remove(struct device *dev)
{
free_irq(tahvo_otg_dev->resource[1].start, &tahvo_usb_device);
free_irq(tahvo_otg_dev->resource[1].start, &tahvo_usb_device);
+ tahvo_otg_dev = NULL;
+