projects
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'spi/topic/pdata' into spi-next
[linux.git]
/
drivers
/
spi
/
spi-davinci.c
diff --git
a/drivers/spi/spi-davinci.c
b/drivers/spi/spi-davinci.c
index 707966bd56103181d31887b53cca01c1d9bd9776..8fbfe2483ffdd12c20683e50194877c1a1ac85ca 100644
(file)
--- a/
drivers/spi/spi-davinci.c
+++ b/
drivers/spi/spi-davinci.c
@@
-872,8
+872,8
@@
static int davinci_spi_probe(struct platform_device *pdev)
goto free_master;
}
- if (
pdev->dev.platform_data
) {
- pdata =
pdev->dev.platform_data
;
+ if (
dev_get_platdata(&pdev->dev)
) {
+ pdata =
dev_get_platdata(&pdev->dev)
;
dspi->pdata = *pdata;
} else {
/* update dspi pdata with that from the DT */