mailbox:imx: using pm_runtime_resume_and_get
authorran jianping <ran.jianping@zte.com.cn>
Wed, 27 Apr 2022 05:41:00 +0000 (05:41 +0000)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 21 May 2022 16:41:30 +0000 (11:41 -0500)
commit504ff5b00853b05133c9cddfc351548b48cc5bdc
tree432ebaf3aaacb9999e8274cfb3e04ba3aeb6e1e0
parent02b5c35a617137ccad8d6988805ab54c3a9efc81
mailbox:imx: using pm_runtime_resume_and_get

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/imx-mailbox.c