summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-nomadik.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-02-17 19:20:29 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-03-05 20:10:31 +0400
commit0ec80c29a3c6339a840a797e4fc9cfdb419fbb3f (patch)
treeff9b82d9b25542bdf9121214aa12c4ae162ea63d /drivers/i2c/busses/i2c-nomadik.c
parent9b2b98a3b4de464e871fa3a2da1e358d4001a3d2 (diff)
downloadlinux-0ec80c29a3c6339a840a797e4fc9cfdb419fbb3f.tar.xz
i2c: nomadik: Remove redundant call to pm_runtime_disable
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-nomadik.c')
-rw-r--r--drivers/i2c/busses/i2c-nomadik.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
index abd94a25a01b..ce835e80a0fd 100644
--- 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;
}