platform/x86: thinkpad_acpi: Replace next_cmd(&buf) with strsep(&buf, ",")
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 May 2020 12:56:24 +0000 (15:56 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 15 May 2020 12:45:14 +0000 (15:45 +0300)
commitbe51bd4585728baefc5669d4af2be0eb68b90e3e
tree6c17004f2cce31487dd181e2b10a80b3064151f4
parentdd950f16b10df55c16c98106726978b236c8be54
platform/x86: thinkpad_acpi: Replace next_cmd(&buf) with strsep(&buf, ",")

It seems next_cmd() predates the strsep() implementation in the kernel.
For a long time we have the latter one, thus, replace next_cmd(&buf) with
strsep(&buf, ",").

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c