Re: [PATCH 2/3] mfd: ti-lmu: use managed resource for everything

From: Lee Jones
Date: Tue Oct 09 2018 - 04:56:50 EST


On Tue, 11 Sep 2018, Pavel Machek 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>
> Signed-off-by: Pavel Machek <pavel@xxxxxx>

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog