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)
commit433302dd8772fc4fe2b9ddcdb42f6a378317c665
treeedec025a3b9e495e0d649d2a5f113cdf18375c9b
parent690e179059e7e89040d1cd564e39761567a8d5dc
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