Jonathan Cameron 4f291b3016 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.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZ67wYACgkQJNaLcl1U
 h9DxbggAhOXNRXFzzQZ7bB+gQc0rLm6zKMwoEYMZSy5uoqZH3kby/P0tvhjCKAFe
 61Ox/77tOJIGQU8Pj3zHQOMrGRhnMADlKEhiN3qCLVJrsE3c2a/Ml8+/NI4udESW
 1A5zBLIFBk8YVQRAA+jpwH2VuSrumDR5v+j/4zfE3AkLwcROnrQuSK9Nkv7lEYtv
 zTE+rA7vJb+J4TrludrIU5uwogFYijv1bmNXNsJvq/uYNaap0DDXxBvYF9XNb075
 AQoJQyDNAJmhg5r1n1GFEXpIRSXx/i5ciLxI+iIZpuNHThEQX8AuNmpkngsnq/SC
 7s2U6Esihuq2ocUvugHfPKS8Z8IiFg==
 =A7WZ
 -----END PGP SIGNATURE-----

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.
2024-06-30 11:36:58 +01:00
..
2023-04-27 11:53:57 -07:00
2023-04-26 15:43:19 -07:00
2024-05-02 10:02:29 -06:00
2024-01-27 18:08:55 -08:00
2024-05-02 10:02:29 -06:00
2024-04-18 16:20:48 +02:00
2023-07-08 11:05:05 -04:00
2023-07-24 12:12:24 +02:00
2024-05-14 18:25:53 -07:00
2024-05-10 11:15:21 -06:00
2022-06-10 15:38:14 +02:00
2024-05-02 10:02:29 -06:00
2023-05-09 11:54:42 +02:00