]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
treewide: Remove redundant
authorMark Brown <broonie@kernel.org>
Mon, 7 Jul 2025 15:12:21 +0000 (16:12 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jul 2025 15:12:21 +0000 (16:12 +0100)
Merge series from Sakari Ailus <sakari.ailus@linux.intel.com>:

Late last year I posted a set to switch to __pm_runtime_mark_last_busy()
and gradually get rid of explicit pm_runtime_mark_last_busy() calls in
drivers, embedding them in the appropriate pm_runtime_*autosuspend*()
calls. The overall feedback I got at the time was that this is an
unnecessary intermediate step, and removing the
pm_runtime_mark_last_busy() calls can be done after adding them to the
relevant Runtime PM autosuspend related functions.

1  2 
drivers/spi/atmel-quadspi.c
drivers/spi/spi-cadence-quadspi.c
drivers/spi/spi-stm32.c

index fc555c0ce52e147371cadbcd500a05f16a510065,d730d7c6b527c355cd8f880eed894f0b6fa0d0ec..4e9bfd26aa80b74b6721faf7f6a65bd007d66a11
@@@ -1433,9 -1443,8 +1430,8 @@@ static int atmel_qspi_probe(struct plat
  
        err = spi_register_controller(ctrl);
        if (err)
 -              goto dma_release;
 +              return err;
  
-       pm_runtime_mark_last_busy(&pdev->dev);
        pm_runtime_put_autosuspend(&pdev->dev);
  
        return 0;
Simple merge
Simple merge