mfd: lp87565: Convert to use devm_mfd_add_devices()
authorAxel Lin <axel.lin@ingics.com>
Sun, 30 Jul 2017 10:58:15 +0000 (18:58 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Sep 2017 07:46:01 +0000 (08:46 +0100)
commitea3993a9bdb77375a91e88b5e5f853474b095dd5
tree09971cdacec96fb8c9b2dc35fd954aaa406f6997
parent9bbf6a15ce19dd947b7fa6ad4095931ab3682da8
mfd: lp87565: Convert to use devm_mfd_add_devices()

This fixes missing mfd_remove_devices() call when unload the module.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lp87565.c