2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

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>
This commit is contained in:
Sakari Ailus 2018-07-20 17:04:50 -04:00 committed by Mauro Carvalho Chehab
parent 1a07dd8a6b
commit 24614c1e90

View File

@ -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);