]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / scan: do not scan fixed hardware on HW-reduced platform
authorAaron Lu <aaron.lu@intel.com>
Mon, 28 Apr 2014 02:38:04 +0000 (10:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Apr 2014 10:16:53 +0000 (12:16 +0200)
commit9db29491f1ceaebf203236b49c00ac40af3cfd0f
tree034a53144f09781d17bf537e20344abbd051512a
parenta7563090e73b40f192e8d59084ab7d606cee6737
ACPI / scan: do not scan fixed hardware on HW-reduced platform

Fixed hardware does not exist on HW-reduced ACPI platforms since the
programming interface for them is not implemented on them, so no need
to scan that hardware on them.

This patch avoids creating the fixed power button ACPI device and
eliminates a probe error message from ACPI button driver on ASUS T100.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c