Skip to content
Snippets Groups Projects
Unverified Commit d4a0055f authored by David Lechner's avatar David Lechner Committed by Mark Brown
Browse files

spi: add devm_spi_optimize_message() helper


This adds a new helper function devm_spi_optimize_message() that
automatically registers spi_unoptimize_message() to be called
when the device is removed.

Signed-off-by: default avatarDavid Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240621-devm_spi_optimize_message-v1-2-3f9dcba6e95e@baylibre.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9b894d65
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment