projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b2b98a
)
i2c: nomadik: Remove redundant call to pm_runtime_disable
author
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 17 Feb 2014 15:20:29 +0000
(16:20 +0100)
committer
Wolfram Sang
<wsa@the-dreams.de>
Wed, 5 Mar 2014 16:10:31 +0000
(17:10 +0100)
The amba bus are responsible for pm_runtime_enable|disable, remove the
redundant pm_runtime_disable at driver removal.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nomadik.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-nomadik.c
b/drivers/i2c/busses/i2c-nomadik.c
index
abd94a2
..
ce835e8
100644
(file)
--- a/
drivers/i2c/busses/i2c-nomadik.c
+++ b/
drivers/i2c/busses/i2c-nomadik.c
@@
-1074,7
+1074,6
@@
static int nmk_i2c_remove(struct amba_device *adev)
i2c_clr_bit(dev->virtbase + I2C_CR, I2C_CR_PE);
if (res)
release_mem_region(res->start, resource_size(res));
- pm_runtime_disable(&adev->dev);
return 0;
}