summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-30 12:36:58 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-30 12:36:58 +0200
commit4f291b30163737103e60bdc7c4d62a7121b0d715 (patch)
tree98e4b71f0307d13f407b7af93cb37c678f6010c2 /Documentation/driver-api
parentDocumentation: iio: Document high-speed DMABUF based API (diff)
parentspi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message) (diff)
downloadlinux-4f291b30163737103e60bdc7c4d62a7121b0d715.tar.xz
linux-4f291b30163737103e60bdc7c4d62a7121b0d715.zip
Merge tag 'spi-devm-optimize' into togreg
spi: add devm_spi_optimize_message() helper Helper from David Lechner <dlechner@baylibre.com>: 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.
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/driver-model/devres.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 18caebad7376..ac9ee7441887 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -464,7 +464,10 @@ SLAVE DMA ENGINE
SPI
devm_spi_alloc_master()
devm_spi_alloc_slave()
+ devm_spi_optimize_message()
devm_spi_register_controller()
+ devm_spi_register_host()
+ devm_spi_register_target()
WATCHDOG
devm_watchdog_register_device()