diff options
author | Alexander Shiyan <[email protected]> | 2014-06-04 18:17:09 +0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-06-06 11:14:30 +0100 |
commit | b8fa0abd47f3f2fa47c1b2b06182c422d0c2350d (patch) | |
tree | 41224806e58fa6f40d57d0dfbcb2f8f41ba23587 | |
parent | d746abd4964f06482e9aab38b297f41353eb6433 (diff) |
spi: sh-msiof: Remove unnecessary platform_set_drvdata()
Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.
Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/spi/spi-sh-msiof.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index 45b09142afe2..83c43707f093 100644 --- a/drivers/spi/spi-sh-msiof.c +++ b/drivers/spi/spi-sh-msiof.c @@ -680,8 +680,6 @@ static int sh_msiof_spi_probe(struct platform_device *pdev) p = spi_master_get_devdata(master); - platform_set_drvdata(pdev, p); - of_id = of_match_device(sh_msiof_match, &pdev->dev); if (of_id) { p->chipdata = of_id->data; |