summaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-pr-ip-core-plat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fpga/altera-pr-ip-core-plat.c')
-rw-r--r--drivers/fpga/altera-pr-ip-core-plat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/fpga/altera-pr-ip-core-plat.c b/drivers/fpga/altera-pr-ip-core-plat.c
index b293d83143f1..99b9cc0e70f0 100644
--- a/drivers/fpga/altera-pr-ip-core-plat.c
+++ b/drivers/fpga/altera-pr-ip-core-plat.c
@@ -32,7 +32,9 @@ static int alt_pr_platform_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
- return alt_pr_unregister(dev);
+ alt_pr_unregister(dev);
+
+ return 0;
}
static const struct of_device_id alt_pr_of_match[] = {