Mauro Carvalho Chehab baa450f08d media: sti/delta: use pm_runtime_resume_and_get()
Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter")
added pm_runtime_resume_and_get() in order to automatically handle
dev->power.usage_count decrement on errors.

Use the new API, in order to cleanup the error check logic.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-05-10 11:36:34 +02:00
..
2021-04-28 09:24:36 -07:00
2021-04-28 09:24:36 -07:00
2021-03-11 11:59:42 +01:00
2021-04-28 10:01:40 -07:00
2021-03-22 11:52:09 +01:00