mtd: rawnand: gpmi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorZhang Qilong <zhangqilong3@huawei.com>
Thu, 22 Sep 2022 15:06:54 +0000 (23:06 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 18 Oct 2022 08:27:06 +0000 (10:27 +0200)
commit78e2d5410a440bc232c2f5eedb6ab0403e9675b6
treeb4268dc48b8e2aa4e5af832ad0fb1f107a1f2324
parent47c3697e25d5167a60d6a3253f2da47452ba0a97
mtd: rawnand: gpmi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using the newest pm_runtime_resume_and_get is more appropriate
for simplifing code here.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220922150654.117568-1-zhangqilong3@huawei.com
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c