summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMarek Vasut2018-06-11 13:58:39 +0200
committerLee Jones2018-07-04 08:15:39 +0200
commitaf8df945876c027969fafefb9ec07b79cfadb16f (patch)
tree38f0ed91983e82bed655104b6f0c16d570e97dba /include/linux/mfd
parentmfd: da9063: Replace regmap_add_irq_chip with devm counterpart (diff)
downloadkernel-qcow2-linux-af8df945876c027969fafefb9ec07b79cfadb16f.tar.gz
kernel-qcow2-linux-af8df945876c027969fafefb9ec07b79cfadb16f.tar.xz
kernel-qcow2-linux-af8df945876c027969fafefb9ec07b79cfadb16f.zip
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/da9063/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/da9063/core.h b/include/linux/mfd/da9063/core.h
index 9ab7049977aa..8e6684d884e0 100644
--- a/include/linux/mfd/da9063/core.h
+++ b/include/linux/mfd/da9063/core.h
@@ -94,6 +94,4 @@ struct da9063 {
int da9063_device_init(struct da9063 *da9063, unsigned int irq);
int da9063_irq_init(struct da9063 *da9063);
-void da9063_device_exit(struct da9063 *da9063);
-
#endif /* __MFD_DA9063_CORE_H__ */