summaryrefslogtreecommitdiffstats
path: root/block/bio-integrity.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2020-07-23 11:54:58 +0100
committerLee Jones <lee.jones@linaro.org>2020-08-13 07:50:50 +0100
commit114294d276279d6cda81f9c685452239ea89cdb8 (patch)
tree8367f548a7691137cdf5f079244b648019c6cdda /block/bio-integrity.c
parent4ee1d9dc8073acd40f04e5fe3771a5dff978d077 (diff)
downloadlinux-114294d276279d6cda81f9c685452239ea89cdb8.tar.bz2
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>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions