Re: [PATCH] Documentation: devres: add missing LED helpers

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

 



Yang Yingliang <yangyingliang@xxxxxxxxxx> writes:

> Add some missing device-managed helpers of led to devres.rst.
>
> devm_led_classdev_register_ext() is introduced by commit b2b998c0f944 ("leds:
> class: Improve LED and LED flash class registration API").
>
> devm_led_trigger_register() is introduced by commit 9534cc31dda2 ("leds: core:
> add managed version of led_trigger_register").
>
> devm_of_led_get() is introduced by commit e389240ad992 ("leds: Add managed
> API to get a LED from a device driver").
>
> Fixes: b2b998c0f944 ("leds: class: Improve LED and LED flash class registration API")
> Fixes: 9534cc31dda2 ("leds: core: add managed version of led_trigger_register")
> Fixes: e389240ad992 ("leds: Add managed API to get a LED from a device driver")
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---
>  Documentation/driver-api/driver-model/devres.rst | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index 08e5ba810eb0..e0cb7df0f782 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -339,7 +339,10 @@ IRQ
>  
>  LED
>    devm_led_classdev_register()
> +  devm_led_classdev_register_ext()
>    devm_led_classdev_unregister()
> +  devm_led_trigger_register()
> +  devm_of_led_get()

Applied, thanks.

jon



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux