From: Jonathan Cameron Date: Sun, 30 Jun 2024 10:36:58 +0000 (+0100) Subject: Merge tag 'spi-devm-optimize' into togreg X-Git-Tag: v6.11-rc1~100^2~42^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f291b30163737103e60bdc7c4d62a7121b0d715;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'spi-devm-optimize' into togreg spi: add devm_spi_optimize_message() helper Helper 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. --- 4f291b30163737103e60bdc7c4d62a7121b0d715