diff options
author | Pavel Machek <pavel@ucw.cz> | 2018-09-11 23:03:44 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-10-23 08:58:34 +0100 |
commit | 7891d37509cca01f383e8349831ee0adc0724e77 (patch) | |
tree | 3aa8fdfa52f6e4163f91942e4b7284dda5514b9b /drivers/mfd/menelaus.c | |
parent | 7a6a395b16c3fdcd2ede2b0ce4bf63f6dafc1fea (diff) | |
download | talos-op-linux-7891d37509cca01f383e8349831ee0adc0724e77.tar.gz talos-op-linux-7891d37509cca01f383e8349831ee0adc0724e77.zip |
mfd: ti-lmu: Use managed resource for everything
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@collabora.co.uk>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/menelaus.c')
0 files changed, 0 insertions, 0 deletions