summaryrefslogtreecommitdiff
path: root/drivers/mfd/ti-ssp.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 14:19:34 +0530
committerLee Jones <lee.jones@linaro.org>2013-10-23 16:21:07 +0100
commitaf1192d769a146328cabfe11916f107f35561ae8 (patch)
tree7276a41df16c775ad0d6d9b7f0f9e369ae280343 /drivers/mfd/ti-ssp.c
parentbef781617691488472f31ca9e5978de5bd064c56 (diff)
mfd: mc12xx-i2c: rtsx_pcr: ti-ssp: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ti-ssp.c')
-rw-r--r--drivers/mfd/ti-ssp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/ti-ssp.c b/drivers/mfd/ti-ssp.c
index 1c2b994e1f6c..71e3e0c5bf73 100644
--- a/drivers/mfd/ti-ssp.c
+++ b/drivers/mfd/ti-ssp.c
@@ -445,7 +445,6 @@ static int ti_ssp_remove(struct platform_device *pdev)
iounmap(ssp->regs);
release_mem_region(ssp->res->start, resource_size(ssp->res));
kfree(ssp);
- dev_set_drvdata(dev, NULL);
return 0;
}