Commit 24614c1e authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 1a07dd8a
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment