From: Mark Brown Date: Mon, 7 Jul 2025 15:12:21 +0000 (+0100) Subject: treewide: Remove redundant X-Git-Tag: v6.17-rc1~182^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45d0376e4970417c9a5ab17af7f40d817015ae32;p=thirdparty%2Flinux.git treewide: Remove redundant Merge series from Sakari Ailus : 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. --- 45d0376e4970417c9a5ab17af7f40d817015ae32 diff --cc drivers/spi/atmel-quadspi.c index fc555c0ce52e1,d730d7c6b527c..4e9bfd26aa80b --- a/drivers/spi/atmel-quadspi.c +++ b/drivers/spi/atmel-quadspi.c @@@ -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;