mfd: da9063: Replace mfd_add_devices with devm counterpart
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 11 Jun 2018 11:58:39 +0000 (13:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 4 Jul 2018 06:15:39 +0000 (07:15 +0100)
commitaf8df945876c027969fafefb9ec07b79cfadb16f
tree38f0ed91983e82bed655104b6f0c16d570e97dba
parent7494de0454af50215bc46c93c83b88a32ca39fab
mfd: da9063: Replace mfd_add_devices with devm counterpart

Use devm_mfd_add_devices() instead of plain mfd_add_devices(), which
removes the need for da9063_device_exit() altogether and also for the
.remove callback in da9063-i2c.c .

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9063-core.c
drivers/mfd/da9063-i2c.c
include/linux/mfd/da9063/core.h