Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9a813dd authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Mark Brown
Browse files

spi: fsl-espi: simplify of_fsl_espi_suspend



Simplify of_fsl_espi_suspend a little.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 278c48d2
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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)