summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-07 20:42:56 +0200
committerLee Jones <lee.jones@linaro.org>2016-04-19 08:54:34 +0200
commit3698283b101388cb9d992ae4d34329f005aa35e8 (patch)
treed96c9e3b63ddd3d389dc51a1261c2d357205748f
parentmfd: Add resource managed APIs for mfd_add_devices (diff)
downloadlinux-3698283b101388cb9d992ae4d34329f005aa35e8.tar.xz
linux-3698283b101388cb9d992ae4d34329f005aa35e8.zip
mfd: Add devm_mfd_add_devices() in list of managed interfaces
Add devm wrappers for the mfd_add_devices() in the list of managed interfaces. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--Documentation/driver-model/devres.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 73b98dfbcea4..7f8c416f3bcf 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -317,6 +317,9 @@ MEM
devm_kvasprintf()
devm_kzalloc()
+MFD
+ devm_mfd_add_devices()
+
PCI
pcim_enable_device() : after success, all PCI ops become managed
pcim_pin_device() : keep PCI device enabled after release