]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / osi: Cleanup _OSI("Linux") related code before introducing new support
authorLv Zheng <lv.zheng@intel.com>
Tue, 3 May 2016 08:48:27 +0000 (16:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 22:13:51 +0000 (00:13 +0200)
commit1874dbefcb35c11cef677604b9c5a2fa5d8c47b1
tree9071fea266e1cfb113afb54000af52a817bb7a49
parentf26842e117902fb898683c375b244f7f12e52060
ACPI / osi: Cleanup _OSI("Linux") related code before introducing new support

This patch cleans up OSI code in osl.c to make osi_linux work for OSI
strings other than "Linux", so it can be re-used for other purposes.

Tested-by: Lukas Wunner <lukas@wunner.de>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c