diff options
author | Hans de Goede <[email protected]> | 2018-01-26 16:02:57 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2018-02-04 09:11:56 +0100 |
commit | b0fd6772cfe10cd1edd65a376522e430e5f1bc58 (patch) | |
tree | 70a3526f6aee75b5789d3d6be96a43e4e8b139e2 /net/unix/sysctl_net_unix.c | |
parent | 5a98231f554779fb1649f477b70bed1fd17222f2 (diff) |
PCI: acpiphp_ibm: prepare for acpi_get_object_info() no longer returning status
acpi_get_object_info() is intended for early probe usage and as such should
not call any methods which may rely on OpRegions, but it used to also call
_STA to get the status, which on some systems does rely on OpRegions, this
behavior and the acpi_device_info.current_status member are being removed.
This commit prepares the acpiphp_ibm code for this by having it get the
status itself using acpi_bus_get_status_handle(). Note no error handling is
necessary on any errors acpi_bus_get_status_handle() leaves the value of
the passed in current_status at its 0 initialization value.
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions