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.reic...@collabora.co.uk>
> ---
>  drivers/mfd/ti-lmu.c | 21 ++++++++-------------
>  1 file changed, 8 insertions(+), 13 deletions(-)

For my own reference:
  Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org>

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Reply via email to