提交 a9a813dd 编写于 作者: H Heiner Kallweit 提交者: Mark Brown

spi: fsl-espi: simplify of_fsl_espi_suspend

Simplify of_fsl_espi_suspend a little.
Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 278c48d2
......@@ -783,11 +783,7 @@ static int of_fsl_espi_suspend(struct device *dev)
return ret;
}
ret = pm_runtime_force_suspend(dev);
if (ret < 0)
return ret;
return 0;
return pm_runtime_force_suspend(dev);
}
static int of_fsl_espi_resume(struct device *dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册