spi: add devm_spi_optimize_message() helper
Get series with b4
b4 am 20240624-devm_spi_optimize_message-v3-0-912138c27b66@baylibre.com change-id 20240621-devm_spi_optimize_message-ebbde029dd7aVersions newest first
- v3 Latest2 patches 1 replyIn review
- v22 patches 3 repliesSuperseded
- v13 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Fix commit hash in Fixes: tag in first patch.
- Link to v2: https://lore.kernel.org/r/20240624-devm_spi_optimize_message-v2-0-58155c0180c2@baylibre.com
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message)drivers/ | +1 | 0 replies | |
| 2/2 | iio: adc: ad7944: use devm_spi_optimize_message()drivers/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] spi: add devm_spi_optimize_message() helper
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.
---
Changes in v3:
- Fix commit hash in Fixes: tag in first patch.
- Link to v2: https://lore.kernel.org/r/20240624-devm_spi_optimize_message-v2-0-58155c0180c2@baylibre.com
Changes in v2:
- Dropped already applied SPI patches.
- Added patch to fix missing EXPORT_SYMBOL_GPL.
- Link to v1: https://lore.kernel.org/r/20240621-devm_spi_optimize_message-v1-0-3f9dcba6e95e@baylibre.com
---
David Lechner (2):
spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message)
iio: adc: ad7944: use devm_spi_optimize_message()
drivers/iio/adc/ad7944.c | 26 +++----------------------- drivers/spi/spi.c | 1 + 2 files changed, 4 insertions(+), 23 deletions(-)
---
base-commit: 17436001a6bc42c7f55dc547ca5b1a873208d91d
change-id: 20240621-devm_spi_optimize_message-ebbde029dd7a
Best regards,
Signature · 1 line
David Lechner <[email protected]>