Thread (30 messages) flat view 30 messages, 6 authors, 2018-04-16

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

From: Lee Jones <hidden>
Date: 2018-04-16 14:38:07
Also in: linux-devicetree, linux-omap, lkml

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 [off-list ref]

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help