mfd: tps65218: Use mfd_add_devices instead of of_platform_populate
authorKeerthy <j-keerthy@ti.com>
Mon, 19 Sep 2016 07:39:05 +0000 (13:09 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 26 Oct 2016 09:30:29 +0000 (10:30 +0100)
commit4531156db726d27e593d35800d43c74be4e393b9
treef52775b7aa8563f16cc65edb2941122aaa866a3d
parent77aa99265a8dda5b497ff4ebbcafafa7fa07e87f
mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

mfd_add_devices enables parsing device tree nodes without compatibles
for regulators and gpio modules. Replace of_platform_populate with
mfd_add_devices. mfd_cell currently is populated with regulators,
gpio and powerbutton.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65218.c