diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-07-20 17:04:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-17 14:56:28 -0400 |
commit | 24614c1e906debe791e2227f3a8936c7ae3954ed (patch) | |
tree | c7f98231a70d44b877398a7ac8a73800d53deee8 /drivers/media/i2c | |
parent | 1a07dd8a6b8510dd8ffd43cceff51c7d4cba0693 (diff) | |
download | linux-stable-24614c1e906debe791e2227f3a8936c7ae3954ed.tar.gz linux-stable-24614c1e906debe791e2227f3a8936c7ae3954ed.tar.bz2 linux-stable-24614c1e906debe791e2227f3a8936c7ae3954ed.zip |
media: dw9807-vcm: Remove redundant pm_runtime_set_suspended in remove
The device is already suspended when it's the driver's remove function is
called. Remove redundant pm_runtime_set_suspended call.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/dw9807-vcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/dw9807-vcm.c b/drivers/media/i2c/dw9807-vcm.c index 8ba3920b6e2f..a532c57dc636 100644 --- a/drivers/media/i2c/dw9807-vcm.c +++ b/drivers/media/i2c/dw9807-vcm.c @@ -229,7 +229,6 @@ static int dw9807_remove(struct i2c_client *client) struct dw9807_device *dw9807_dev = sd_to_dw9807_vcm(sd); pm_runtime_disable(&client->dev); - pm_runtime_set_suspended(&client->dev); dw9807_subdev_cleanup(dw9807_dev); |