[GIT PULL] Device properties framework fixes for v4.14-rc5

From: Rafael J. Wysocki
Date: Thu Oct 12 2017 - 19:03:58 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
devprop-4.14-rc5

with top-most commit 51858a2777f025333c5ac3b3484263bba56461b3

ACPI: properties: Fix __acpi_node_get_property_reference() return codes

on top of commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f

Linux 4.14-rc4

to receive device properties framework fixes for v4.14-rc5.

These fix an issue related to device removal introduced during the
4.9 cycle and fix up new functionality added recently.

Specifics:

- Fix a device properties management issue, introduced during the
4.9 cycle, that causes device properties associated with a
parent device to go away on a removal of its child in some
cases (Jarkko Nikula).

- Fix inconsistencies in error codes returned by a new function
helper in the device properties framework depending on the
underlying low-level firmware interface, DT or ACPI, by making the
meaning of error codes returned in the ACPI case agree with the
meaning of DT error codes in analogous situations (Sakari Ailus).

Thanks!


---------------

Jarkko Nikula (1):
device property: Track owner device of device property

Sakari Ailus (2):
ACPI: properties: Align return codes of
__acpi_node_get_property_reference()
ACPI: properties: Fix __acpi_node_get_property_reference() return codes

---------------

drivers/acpi/property.c | 29 +++++++++++++++--------------
drivers/base/property.c | 19 +++++++++++++------
2 files changed, 28 insertions(+), 20 deletions(-)