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:
parent
1a07dd8a6b
commit
24614c1e90
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user