mfd: mfd-core: Remove usage counting for .{en,dis}able() call-backs
authorLee Jones <lee.jones@linaro.org>
Mon, 21 Oct 2019 09:47:37 +0000 (10:47 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:03 +0000 (08:45 +0000)
commit5a47c0fbd276b7f57bd38f153e8b15784b2f6f22
tree6485e4ea7ddf873e52bdad6150ceb7a639e6e12d
parent504c3fad8c38d5ff5a16b76c815f51c1aa375586
mfd: mfd-core: Remove usage counting for .{en,dis}able() call-backs

The MFD implementation for reference counting was complex and unnecessary.
There was only one bona fide user which has now been converted to handle
the process in a different way. Any future resource protection, shared
enablement functions should be handed by the parent device, rather than
through the MFD subsystem API.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
drivers/mfd/mfd-core.c
include/linux/mfd/core.h