Laxman Dewangan 1a5422c9e5 mfd: max77686: Use devm_mfd_add_devices and devm_regmap_add_irq_chip
Use devm_mfd_add_devices() for adding MFD child devices and
devm_regmap_add_irq_chip() for IRQ chip registration.

This reduces the error code path and .remove callback for removing
MFD child devices and deleting IRQ chip data.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-05-09 13:27:20 +01:00
..
2016-04-19 07:58:06 +01:00
2015-11-06 10:23:50 -08:00
2016-03-18 10:15:11 -07:00
2016-04-19 07:59:59 +01:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:51 +00:00
2016-04-19 07:58:37 +01:00
2015-09-04 11:35:03 -07:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00
2015-09-04 11:46:02 -07:00