projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/spi/spi-falcon.c
b/drivers/spi/spi-falcon.c
index
ba441ad
..
f73b300
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);