projects
/
GitHub
/
LineageOS
/
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:
6ce4eac
)
spi: rspi: Use dev_get_platdata() instead of raw dev.platform_data access
author
Geert Uytterhoeven
<geert+renesas@linux-m68k.org>
Tue, 24 Dec 2013 09:49:30 +0000
(10:49 +0100)
committer
Mark Brown
<broonie@linaro.org>
Tue, 24 Dec 2013 13:19:55 +0000
(13:19 +0000)
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rspi.c
b/drivers/spi/spi-rspi.c
index 58449ad4ad0d3a83eb273b49f292909078519ca1..e6aa4240285087a9fe3a0f5572208d8fc971052e 100644
(file)
--- a/
drivers/spi/spi-rspi.c
+++ b/
drivers/spi/spi-rspi.c
@@
-904,7
+904,7
@@
static int rspi_probe(struct platform_device *pdev)
struct rspi_data *rspi;
int ret, irq;
char clk_name[16];
- struct rspi_plat_data *rspi_pd =
pdev->dev.platform_data
;
+ struct rspi_plat_data *rspi_pd =
dev_get_platdata(&pdev->dev)
;
const struct spi_ops *ops;
const struct platform_device_id *id_entry = pdev->id_entry;