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
parent
5dde5bcfd7
commit
529d3dc133
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue