From: Mark Brown Date: Sun, 23 Jun 2024 12:14:18 +0000 (+0100) Subject: spi: add devm_spi_optimize_message() helper X-Git-Tag: io_uring-6.11-20240722~113^2~19 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=17436001a6bc42c7f55dc547ca5b1a873208d91d;p=linux-2.6-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. --- 17436001a6bc42c7f55dc547ca5b1a873208d91d