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:
dae1a77
)
spi: qup: Add spi_master_put in remove function
author
Pramod Gurav
<pramod.gurav@linaro.org>
Mon, 2 May 2016 12:14:04 +0000
(17:44 +0530)
committer
Mark Brown
<broonie@kernel.org>
Mon, 2 May 2016 14:27:28 +0000
(15:27 +0100)
Release memory allocated for spi master by calling spi_master_put in
.remove function.
Signed-off-by: Pramod Gurav <pramod.gurav@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qup.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-qup.c
b/drivers/spi/spi-qup.c
index e42ff613c0e0938ceca65236ef674ea3d6404c32..c338ef1136f6c6052b72b9394f74ef89b58273a5 100644
(file)
--- a/
drivers/spi/spi-qup.c
+++ b/
drivers/spi/spi-qup.c
@@
-1030,6
+1030,8
@@
static int spi_qup_remove(struct platform_device *pdev)
pm_runtime_put_noidle(&pdev->dev);
pm_runtime_disable(&pdev->dev);
+ spi_master_put(master);
+
return 0;
}
This page took
0.024967 seconds
and
5
git commands to generate.