mailbox: omap: using pm_runtime_resume_and_get to simplify the code
authorran jianping <ran.jianping@zte.com.cn>
Thu, 28 Apr 2022 06:42:09 +0000 (06:42 +0000)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 21 May 2022 16:41:30 +0000 (11:41 -0500)
commitd9512696082bcfd068ce65476c85c5b17511d4df
treeda6ea4fc5181d0c8d4fdf431d30f687162911b5d
parent504ff5b00853b05133c9cddfc351548b48cc5bdc
mailbox: omap: using pm_runtime_resume_and_get to simplify the code

Using pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. This change is just to simplify the code, no
actual functional changes.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/omap-mailbox.c