Mauro Carvalho Chehab ed8f47b061 media: i2c: dw9768: 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:40 +02:00
..
2019-07-09 09:47:22 -07:00
2021-02-01 10:03:45 +01:00
2021-04-06 14:39:25 +02:00
2020-07-19 14:15:42 +02:00
2019-03-01 09:29:58 -05:00
2019-08-26 14:05:09 -03:00
2019-03-01 09:29:58 -05:00
2019-03-01 09:29:58 -05:00