Re: [PATCH V2 02/20] mfd: Add devm_mfd_add_devices() in list of managed interfaces

From: Lee Jones
Date: Mon Apr 11 2016 - 05:15:44 EST


Applied, thanks.

On Fri, 08 Apr 2016, Laxman Dewangan wrote:

> Add devm wrappers for the mfd_add_devices() in the list of managed
> interfaces.
>
> Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
>
> ---
> Changes from V1:
> - Reformat the commit message.
> - Remove devm_ for mfd_remove_devices() as this is not used.
>
> Documentation/driver-model/devres.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
> index 73b98df..7f8c416 100644
> --- a/Documentation/driver-model/devres.txt
> +++ b/Documentation/driver-model/devres.txt
> @@ -317,6 +317,9 @@ MEM
> devm_kvasprintf()
> devm_kzalloc()
>
> +MFD
> + devm_mfd_add_devices()
> +
> PCI
> pcim_enable_device() : after success, all PCI ops become managed
> pcim_pin_device() : keep PCI device enabled after release

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog