1
0
Fork 0

MLK-24011: mtd: nand: gpmi: removed the redundant runtime_pm ops

remove the redundant pm_runtime_get_sync introduced in last code rebase

Signed-off-by: Han Xu <han.xu@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Han Xu 2020-05-14 18:00:56 -05:00
parent 5dde5bcfd7
commit 529d3dc133
1 changed files with 0 additions and 4 deletions

View File

@ -154,10 +154,6 @@ static int gpmi_init(struct gpmi_nand_data *this)
struct resources *r = &this->resources;
int ret = 0;
ret = pm_runtime_get_sync(this->dev);
if (ret < 0)
return ret;
ret = pm_runtime_get_sync(this->dev);
if (ret < 0)
return ret;