[PATCH 00/20] mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices

From: Laxman Dewangan
Date: Tue Apr 05 2016 - 08:13:06 EST


This series add devm_ version of the APIs mfd_add_devices() and
mfd_release_devices() and get rid of call for mfd_release_devices()
some places and also remove the need of .remove callbacks as this
is not needed.

Laxman Dewangan (20):
mfd: Add devm_ apis for mfd_add_devices and mfd_release_devices
mfd: Add resource management devm_mfd_{add,remove}_devices
mfd: act8945a: Use devm_mfd_add_devices() for mfd_device registration
mfd: as3711: Use devm_mfd_add_devices() for mfd_device registration
mfd: atmel-hlcdc: Use devm_mfd_add_devices() for mfd_device
registration
mfd: bcm590xx: Use devm_mfd_add_devices() for mfd_device registration
mfd: hi6421-pmic: Use devm_mfd_add_devices() for mfd_device
registration
mfd: lp3943: Use devm_mfd_add_devices() for mfd_device registration
mfd: menf21bmc: Use devm_mfd_add_devices() for mfd_device registration
mfd: mt6397: Use devm_mfd_add_devices() for mfd_device registration
mfd: rdc321x: Use devm_mfd_add_devices() for mfd_device registration
mfd: rk808: Use devm_mfd_add_devices() for mfd_device registration
mfd: rn5t618: Use devm_mfd_add_devices() for mfd_device registration
mfd: rt5033: Use devm_mfd_add_devices() for mfd_device registration
mfd: sky81452: Use devm_mfd_add_devices() for mfd_device registration
mfd: stw481x: Use devm_mfd_add_devices() for mfd_device registration
mfd: tps6507x: Use devm_mfd_add_devices() for mfd_device registration
mfd: tps65217: Use devm_mfd_add_devices() for mfd_device registration
mfd: tps65910: Use devm_mfd_add_devices() for mfd_device registration
mfd: wm8400: Use devm_mfd_add_devices() for mfd_device registration

Documentation/driver-model/devres.txt | 4 +++
drivers/mfd/act8945a.c | 13 ++------
drivers/mfd/as3711.c | 11 +------
drivers/mfd/atmel-hlcdc.c | 10 +-----
drivers/mfd/bcm590xx.c | 9 +----
drivers/mfd/hi6421-pmic-core.c | 10 +-----
drivers/mfd/lp3943.c | 14 ++------
drivers/mfd/menf21bmc.c | 9 +----
drivers/mfd/mfd-core.c | 62 +++++++++++++++++++++++++++++++++++
drivers/mfd/mt6397-core.c | 12 ++-----
drivers/mfd/rdc321x-southbridge.c | 8 +----
drivers/mfd/rk808.c | 3 +-
drivers/mfd/rn5t618.c | 3 +-
drivers/mfd/rt5033.c | 10 +-----
drivers/mfd/sky81452.c | 10 ++----
drivers/mfd/stw481x.c | 9 +----
drivers/mfd/tps6507x.c | 11 +------
drivers/mfd/tps65217.c | 12 +------
drivers/mfd/tps65910.c | 3 +-
drivers/mfd/wm8400-core.c | 25 ++------------
include/linux/mfd/core.h | 7 ++++
21 files changed, 99 insertions(+), 156 deletions(-)

--
2.1.4