From: Mark Brown Date: Tue, 25 Jun 2024 17:49:11 +0000 (+0100) Subject: spi: add devm_spi_optimize_message() helper X-Git-Tag: v6.11-rc1~205^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f01062881f8101f97d57e0ba97020808bfba9ccd;p=thirdparty%2Fkernel%2Flinux.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