summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/char/hw_random/xgene-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/xgene-rng.c b/drivers/char/hw_random/xgene-rng.c
index 31662614a48f..c67d3185b5b6 100644
--- a/drivers/char/hw_random/xgene-rng.c
+++ b/drivers/char/hw_random/xgene-rng.c
@@ -366,7 +366,7 @@ static int xgene_rng_remove(struct platform_device *pdev)
if (rc)
dev_err(&pdev->dev, "RNG init wakeup failed error %d\n", rc);
- return rc;
+ return 0;
}
static const struct of_device_id xgene_rng_of_match[] = {