[PATCH v3 2/3] device property: the secondary fwnode needs to depend on the primary

2015-12-29 Thread Andy Shevchenko
From: Heikki Krogerus This fixes NULL pointer dereference when the primary fwnode handle does not exist, for example with PCI devices that do not have ACPI companion. Signed-off-by: Heikki Krogerus Signed-off-by: Andy Shevchenko --- drivers/base/property.c | 8 1 file changed, 4

[PATCH v3 2/3] device property: the secondary fwnode needs to depend on the primary

2015-12-29 Thread Andy Shevchenko
From: Heikki Krogerus This fixes NULL pointer dereference when the primary fwnode handle does not exist, for example with PCI devices that do not have ACPI companion. Signed-off-by: Heikki Krogerus Signed-off-by: Andy Shevchenko