From: Mark Brown Date: Tue, 25 Jun 2024 17:49:11 +0000 (+0100) Subject: spi: add devm_spi_optimize_message() helper X-Git-Tag: io_uring-6.11-20240722~113^2~16 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f01062881f8101f97d57e0ba97020808bfba9ccd;p=linux-block.git spi: add devm_spi_optimize_message() helper Merge series from David Lechner : In the IIO subsystem, we are finding that it is common to call spi_optimize_message() during driver probe since the SPI message doesn't change for the lifetime of the driver. This patch adds a devm_spi_optimize_message() helper to simplify this common pattern. --- f01062881f8101f97d57e0ba97020808bfba9ccd