Re: [PATCHv4 03/10] mfd: ti-lmu: use managed resource for everything
From: Lee Jones
Date: Mon Apr 16 2018 - 10:38:12 EST
On Fri, 30 Mar 2018, Sebastian Reichel wrote:
> This replaces all remaining unmanaged resources with device
> managed ones, so that the remove function is no longer needed.
> This makes the code slightly shorter and fixes two problems:
>
> 1. The hardware is disabled after the child devices have
> been removed. Previously there was a potential race
> condition.
> 2. The hardware is disabled when mfd_add_devices fails
> during probe.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
> ---
> drivers/mfd/ti-lmu.c | 21 ++++++++-------------
> 1 file changed, 8 insertions(+), 13 deletions(-)
For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog