From: Mark Brown Date: Sun, 23 Jun 2024 12:14:18 +0000 (+0100) Subject: spi: add devm_spi_optimize_message() helper X-Git-Tag: v6.11-rc1~205^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17436001a6bc42c7f55dc547ca5b1a873208d91d;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. --- 17436001a6bc42c7f55dc547ca5b1a873208d91d