diff options
-rw-r--r-- | drivers/mfd/mfd-core.c | 6 | ||||
-rw-r--r-- | include/linux/mfd/core.h | 4 |
2 files changed, 0 insertions, 10 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) diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index 9ec599167fe6..0bc7cba798a3 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -51,7 +51,6 @@ struct irq_domain; struct software_node; -struct property_entry; /* Matches ACPI PNP id, either _HID or _CID, or ACPI _ADR */ struct mfd_cell_acpi_match { @@ -82,9 +81,6 @@ struct mfd_cell { /* Software node for the device. */ const struct software_node *swnode; - /* device properties passed to the sub devices drivers */ - const struct property_entry *properties; - /* * Device Tree compatible string * See: Documentation/devicetree/usage-model.rst Chapter 2.2 for details |