summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hdlc_ppp.c
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 /drivers/net/wan/hdlc_ppp.c
parent0a8e5c3d5f0f4929761e6a5bef5358f0ccd8810c (diff)
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 'drivers/net/wan/hdlc_ppp.c')
0 files changed, 0 insertions, 0 deletions