projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e25c7
)
spi: clps711x: Remove unnecessary platform_set_drvdata()
author
Alexander Shiyan
<shc_work@mail.ru>
Wed, 4 Jun 2014 14:17:06 +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-clps711x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-clps711x.c
b/drivers/spi/spi-clps711x.c
index 4cd62f63654741010a70fa7d45a4aae820a87e32..ce538dad526b3a34d08dd5498e803d08b23862e8 100644
(file)
--- a/
drivers/spi/spi-clps711x.c
+++ b/
drivers/spi/spi-clps711x.c
@@
-184,8
+184,6
@@
static int spi_clps711x_probe(struct platform_device *pdev)
}
master->max_speed_hz = clk_get_rate(hw->spi_clk);
- platform_set_drvdata(pdev, master);
-
hw->syscon = syscon_regmap_lookup_by_pdevname("syscon.3");
if (IS_ERR(hw->syscon)) {
ret = PTR_ERR(hw->syscon);