Mauro Carvalho Chehab 529e78dea6 media: i2c: ov8856: 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.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-05-19 09:51:41 +02:00
..
2021-05-19 09:51:39 +02:00
2020-06-03 20:59:38 -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