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:
f114040
)
spi/rockchip: remove redundant call to spi_master_put()
author
Laurentiu Palcu
<laurentiu.palcu@intel.com>
Tue, 11 Nov 2014 13:22:51 +0000
(15:22 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 12 Nov 2014 15:04:18 +0000
(15:04 +0000)
The call to spi_master_put() in rockchip_spi_remove() is redundant since
the master is registered using devm_. This patch removes it.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rockchip.c
b/drivers/spi/spi-rockchip.c
index f96ea8a38d640f988a797ecd448b2c9c64e9a8ed..08897d34ce33cf05eab685fda0263b2fc28eae3f 100644
(file)
--- a/
drivers/spi/spi-rockchip.c
+++ b/
drivers/spi/spi-rockchip.c
@@
-723,8
+723,6
@@
static int rockchip_spi_remove(struct platform_device *pdev)
if (rs->dma_rx.ch)
dma_release_channel(rs->dma_rx.ch);
- spi_master_put(master);
-
return 0;
}