projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9e4b4
)
spi: falcon: Remove unnecessary platform_set_drvdata()
author
Alexander Shiyan
<shc_work@mail.ru>
Wed, 4 Jun 2014 14:17:07 +0000
(18:17 +0400)
committer
Mark Brown
<broonie@linaro.org>
Fri, 6 Jun 2014 10:14:29 +0000
(11:14 +0100)
Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-falcon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-falcon.c
b/drivers/spi/spi-falcon.c
index ba441ad9a007fc374d146d58eee391c836b2b9c4..f73b3004d6d30665ac06a911154e2507d59b57f5 100644
(file)
--- a/
drivers/spi/spi-falcon.c
+++ b/
drivers/spi/spi-falcon.c
@@
-425,8
+425,6
@@
static int falcon_sflash_probe(struct platform_device *pdev)
master->unprepare_transfer_hardware = falcon_sflash_unprepare_xfer;
master->dev.of_node = pdev->dev.of_node;
- platform_set_drvdata(pdev, priv);
-
ret = devm_spi_register_master(&pdev->dev, master);
if (ret)
spi_master_put(master);
This page took
0.02447 seconds
and
5
git commands to generate.