ACPI / x86: Make PWM2 device always present at Lenovo Yoga Book
authorYauhen Kharuzhy <jekhor@gmail.com>
Sat, 9 Feb 2019 10:06:12 +0000 (13:06 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 Feb 2019 23:19:58 +0000 (00:19 +0100)
commitff6cdfd71495e2b7995b6ec95480d15f89e3beef
tree3bebf5928bd5ea4f83d1a7a3976a7dd477bfa17a
parentd13937116f1e82bf508a6325111b322c30c85eb9
ACPI / x86: Make PWM2 device always present at Lenovo Yoga Book

Lenovo Yoga Book uses PWM2 for controlling keyboard backlight but this
device is hidden in the DSDT in Windows version of notebook (if OSID == 1).

Make this device always present for this notebook.

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c