diff options
| author | 2022-04-07 13:44:25 +0200 | |
|---|---|---|
| committer | 2022-04-19 16:32:10 +0100 | |
| commit | 5088b3136439896c2858173402f32dada4db69f6 (patch) | |
| tree | 47a3fc7fbe7fde52e2d4af5f701e0c426ac0ea85 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | spi: mt65xx: Move clock parent setting to remove clock disable gotos (diff) | |
| download | linux-dev-5088b3136439896c2858173402f32dada4db69f6.tar.xz linux-dev-5088b3136439896c2858173402f32dada4db69f6.zip | |
spi: mt65xx: Move pm_runtime_enable() call to remove all gotos
The last goto in the probe function can be removed by calling
pm_runtime_enable() right before devm_spi_register_master(), as
only some init checks were being performed after enabling pm.
This is a cleanup and brings no functional changes.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220407114428.167091-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
