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:
d746abd
)
spi: sh-msiof: Remove unnecessary platform_set_drvdata()
author
Alexander Shiyan
<shc_work@mail.ru>
Wed, 4 Jun 2014 14:17:09 +0000
(18:17 +0400)
committer
Mark Brown
<broonie@linaro.org>
Fri, 6 Jun 2014 10:14:30 +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-sh-msiof.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-sh-msiof.c
b/drivers/spi/spi-sh-msiof.c
index 45b09142afe2defcd6be0ed9d0f9a7ea7aa1fc15..83c43707f0933f59c908559726ad1ac7d56b00e3 100644
(file)
--- 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;
This page took
0.024866 seconds
and
5
git commands to generate.