Re: [PATCH -next v2] Documentation: devres: add missing SPI helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yang Yingliang <yangyingliang@xxxxxxxxxx> writes:

> Add devm_spi_alloc_master() and devm_spi_alloc_slave() to devres.rst.
> They are introduced by commit 5e844cc37a5c ("spi: Introduce device-managed
> SPI controller allocation").
>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>
> ---
> v2:
>   Put alloc functions above the register function.
> ---
>  Documentation/driver-api/driver-model/devres.rst | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 2895f9ea00c4..7a3c34214c4c 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -436,6 +436,8 @@ SLAVE DMA ENGINE
>    devm_acpi_dma_controller_register()
>  
>  SPI
> +  devm_spi_alloc_master()
> +  devm_spi_alloc_slave()
>    devm_spi_register_master()

Applied, thanks.

jon



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux