From: Mark Brown Date: Tue, 25 Jun 2024 17:49:11 +0000 (+0100) Subject: spi: add devm_spi_optimize_message() helper X-Git-Tag: ceph-for-6.11-rc2~206^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f01062881f8101f97d57e0ba97020808bfba9ccd;p=ceph-client.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