diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-04-07 13:44:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-19 16:32:10 +0100 |
commit | 5088b3136439896c2858173402f32dada4db69f6 (patch) | |
tree | 47a3fc7fbe7fde52e2d4af5f701e0c426ac0ea85 /lib/ts_bm.c | |
parent | 5dee8bb8d14dc7536cec58cc1d94148dce89dfc5 (diff) | |
download | linux-5088b3136439896c2858173402f32dada4db69f6.tar.bz2 |
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 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions