Charles Keepax 114294d276 mfd: mfd-core: Add mechanism for removal of a subset of children
Currently, the only way to remove MFD children is with a call to
mfd_remove_devices, which will remove all the children. Under
some circumstances it is useful to remove only a subset of the
child devices. For example if some additional clean up is required
between removal of certain child devices.

To accomplish this a level field is added to mfd_cell, the normal
mfd_remove_devices is modified to not remove devices that are set
to a higher level and a corresponding mfd_remove_devices_late
function is added to remove those children.

See further discussion at:
https://lore.kernel.org/lkml/20200616075834.GF2608702@dell/

Suggested-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-08-13 07:50:50 +01:00
..
2020-01-24 07:33:57 +00:00
2019-08-14 09:07:20 +01:00
2019-07-15 20:18:40 -07:00
2019-12-01 16:16:31 -08:00
2020-01-09 15:30:59 -08:00
2020-08-13 07:49:40 +01:00
2019-07-15 20:18:40 -07:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2020-08-13 07:49:40 +01:00
2019-07-15 20:18:40 -07:00
2017-07-18 08:27:18 +01:00
2019-07-09 08:59:39 -07:00