]> git.baikalelectronics.ru Git - kernel.git/commit
Input: omap4-keypad - switch to using pm_runtime_resume_and_get()
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 25 Apr 2022 03:49:01 +0000 (20:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 28 May 2022 04:38:32 +0000 (21:38 -0700)
commit63d2ed8985135d2aff87cea16dc066cf12c57355
treeedec025a3b9e495e0d649d2a5f113cdf18375c9b
parent40db02431b9fefff6b1663db30e1c13c9fef66f1
Input: omap4-keypad - switch to using pm_runtime_resume_and_get()

Use 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: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220414085710.2541867-1-chi.minghao@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/omap4-keypad.c