summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2021-03-01 16:42:22 +0200
committerLee Jones <lee.jones@linaro.org>2021-04-14 16:06:14 +0100
commitb4a66acc0997cff7cb9a4c3992e97808700aa1ff (patch)
treee96a2e94743645c36ae50e662c8d5f09b4faa605 /drivers/mfd
parent03152e35dd228065d4189464fe1b2554434da6ac (diff)
mfd: core: Remove support for dangling device properties
From now on only accepting complete software nodes. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/mfd-core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
index e24008b94aac..6dcff4b8e15e 100644
--- a/drivers/mfd/mfd-core.c
+++ b/drivers/mfd/mfd-core.c
@@ -238,12 +238,6 @@ static int mfd_add_device(struct device *parent, int id,
goto fail_of_entry;
}
- if (cell->properties) {
- ret = platform_device_add_properties(pdev, cell->properties);
- if (ret)
- goto fail_of_entry;
- }
-
if (cell->swnode) {
ret = device_add_software_node(&pdev->dev, cell->swnode);
if (ret)