Skip to content

Commit b4a66ac

Browse files
Heikki KrogerusLee Jones
authored andcommitted
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>
1 parent 03152e3 commit b4a66ac

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎drivers/mfd/mfd-core.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,6 @@ static int mfd_add_device(struct device *parent, int id,
238238
goto fail_of_entry;
239239
}
240240

241-
if (cell->properties) {
242-
ret = platform_device_add_properties(pdev, cell->properties);
243-
if (ret)
244-
goto fail_of_entry;
245-
}
246-
247241
if (cell->swnode) {
248242
ret = device_add_software_node(&pdev->dev, cell->swnode);
249243
if (ret)

‎include/linux/mfd/core.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151

5252
struct irq_domain;
5353
struct software_node;
54-
struct property_entry;
5554

5655
/* Matches ACPI PNP id, either _HID or _CID, or ACPI _ADR */
5756
struct mfd_cell_acpi_match {
@@ -82,9 +81,6 @@ struct mfd_cell {
8281
/* Software node for the device. */
8382
const struct software_node *swnode;
8483

85-
/* device properties passed to the sub devices drivers */
86-
const struct property_entry *properties;
87-
8884
/*
8985
* Device Tree compatible string
9086
* See: Documentation/devicetree/usage-model.rst Chapter 2.2 for details

0 commit comments

Comments
 (0)