[PATCH 02/20] mfd: Add resource management devm_mfd_{add,remove}_devices

From: Laxman Dewangan
Date: Tue Apr 05 2016 - 07:59:59 EST


Add devm wrappers for the mfd_add_devices() and mfd_remove_devices()
in the list of managed interfaces.

Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
---
Documentation/driver-model/devres.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 73b98df..f752169 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -317,6 +317,10 @@ MEM
devm_kvasprintf()
devm_kzalloc()

+MFD
+ devm_mfd_add_devices()
+ devm_mfd_remove_devices()
+
PCI
pcim_enable_device() : after success, all PCI ops become managed
pcim_pin_device() : keep PCI device enabled after release
--
2.1.4