summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mv_cesa.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 14:48:14 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2013-05-24 17:55:28 +0800
commit928e47ec84c1f889de996b64c4a4687df8d2709a (patch)
treeb20c579b79b04875c843f4fc3151cc0d18df9c31 /drivers/crypto/mv_cesa.c
parent30862281f717835ec06eca9aeb2b3ddc3da33bc1 (diff)
downloadtalos-op-linux-928e47ec84c1f889de996b64c4a4687df8d2709a.tar.gz
talos-op-linux-928e47ec84c1f889de996b64c4a4687df8d2709a.zip
crypto: mv_cesa: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r--drivers/crypto/mv_cesa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index ce6290e5471a..3374a3ebe4c7 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -1146,7 +1146,6 @@ err_unmap_reg:
err:
kfree(cp);
cpg = NULL;
- platform_set_drvdata(pdev, NULL);
return ret;
}
OpenPOWER on IntegriCloud