summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-15 01:29:06 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-15 01:29:06 +0100
commitab62f9cd7b5ecdf853f1612fe1e983cb7cbbac3e (patch)
treecd8ab25556dfba0213ecd85b1756756996eed5b1 /fs
parentACPI / dock: Use acpi_device_enumerated() to check if dock is present (diff)
downloadlinux-ab62f9cd7b5ecdf853f1612fe1e983cb7cbbac3e.tar.xz
linux-ab62f9cd7b5ecdf853f1612fe1e983cb7cbbac3e.zip
ACPI / dock: Make 'docked' sysfs attribute work as documented
After recent ACPI core changes acpi_bus_get_device() will always succeed for dock station ACPI device objects, so show_docked() should not use that function's return value as an indicator of whether or not the dock device is present. Make it use acpi_device_enumerated() for this purpose. Fixes: 202317a573b2 (ACPI / scan: Add acpi_device objects for all device nodes in the namespace) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions