Commit f010628
committed
spi: add devm_spi_optimize_message() helper
Merge series 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.1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4384 | 4384 | | |
4385 | 4385 | | |
4386 | 4386 | | |
| 4387 | + | |
4387 | 4388 | | |
4388 | 4389 | | |
4389 | 4390 | | |
| |||
0 commit comments