Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);