projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
6e693ff
e5f7825
)
Merge remote-tracking branch 'spi/topic/hspi' into spi-next
author
Mark Brown
<broonie@linaro.org>
Fri, 25 Oct 2013 08:51:28 +0000
(09:51 +0100)
committer
Mark Brown
<broonie@linaro.org>
Fri, 25 Oct 2013 08:51:28 +0000
(09:51 +0100)
1
2
drivers/spi/spi-sh-hspi.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
drivers/spi/spi-sh-hspi.c
index 7e749a22f51e8c6c22fae89742263e1afbc46424,8a147d92f9eb23cea5dbc8bc608c962d3cf419f5..292567ab4c6c41df0eb981c8692d0454e98bf8ed
---
1
/
drivers/spi/spi-sh-hspi.c
---
2
/
drivers/spi/spi-sh-hspi.c
+++ b/
drivers/spi/spi-sh-hspi.c
@@@
-303,9
-303,10
+303,10
@@@
static int hspi_probe(struct platform_d
master->setup = hspi_setup;
master->cleanup = hspi_cleanup;
master->mode_bits = SPI_CPOL | SPI_CPHA;
+ master->dev.of_node = pdev->dev.of_node;
master->auto_runtime_pm = true;
master->transfer_one_message = hspi_transfer_one_message;
- ret =
spi_register_master(
master);
+ ret =
devm_spi_register_master(&pdev->dev,
master);
if (ret < 0) {
dev_err(&pdev->dev, "spi_register_master error.\n");
goto error1;