# Re: \[PATCHv4 03/10\] mfd: ti-lmu: use managed resource for everything

- From: Lee Jones \<hidden\>
- Date: 2018-04-16 14:38:07 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/04/5262896
- Thread: https://ratatoskr.run/linux-fbdev/2018/03/5246174/t.md

```text
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 <redacted>
> ---
>  drivers/mfd/ti-lmu.c | 21 ++++++++-------------
>  1 file changed, 8 insertions(+), 13 deletions(-)

For my own reference:
  Acked-for-MFD-by: Lee Jones [ref]

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