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)
commitdbee890bf69ad62c021e299e24881fdcd1f2c481
tree9071fea266e1cfb113afb54000af52a817bb7a49
parent30c9bb0d7603e7b3f4d6a0ea231e1cddae020c32
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