diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-08 00:12:55 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-04-19 07:54:19 +0100 |
commit | a8f447be8056d9ce17bf7757d6de79426700bb8b (patch) | |
tree | a8a238dddf7b76badcc030c35761c9756e7e567b /Documentation/driver-model/devres.txt | |
parent | mfd: axp20x: Add bindings for AXP809 PMIC (diff) | |
download | linux-dev-a8f447be8056d9ce17bf7757d6de79426700bb8b.tar.xz linux-dev-a8f447be8056d9ce17bf7757d6de79426700bb8b.zip |
mfd: Add resource managed APIs for mfd_add_devices
Add resource managed API devm_mfd_add_devices() for the mfd_add_devices().
This helps in reducing code in error path as it is not required
to call mfd_remove_devices() explicitly to remove all child-devices.
In some cases, it also helps not to implement .remove() callback
which get called during driver unbind.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/driver-model/devres.txt')
0 files changed, 0 insertions, 0 deletions