diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2022-04-07 13:44:25 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-19 16:32:10 +0100 |
commit | 5088b3136439896c2858173402f32dada4db69f6 (patch) | |
tree | 47a3fc7fbe7fde52e2d4af5f701e0c426ac0ea85 /drivers/fpga/fpga-bridge.c | |
parent | 5dee8bb8d14dc7536cec58cc1d94148dce89dfc5 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions