Commit 54892d7f authored by Federico Vaga's avatar Federico Vaga

sw:drv: add debug messages on GN412X devices removal

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 00c8f671
......@@ -456,6 +456,7 @@ static int gn412x_fcl_remove(struct platform_device *pdev)
compat_fpga_mgr_unregister(gn412x->mgr);
compat_fpga_mgr_free(gn412x->mgr);
dev_dbg(&pdev->dev, "%s\n", __func__);
return 0;
}
......
......@@ -570,6 +570,7 @@ static int gn412x_gpio_remove(struct platform_device *pdev)
free_irq(platform_get_irq(pdev, 0), gn412x);
gn412x_gpio_irq_set_nested_thread_all(gn412x, false);
gpiochip_remove(&gn412x->gpiochip);
dev_dbg(&pdev->dev, "%s\n", __func__);
return 0;
}
......
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