]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4ba7349f5dccd0542a04e1469cfb783adcc3ba6
tree6c17004f2cce31487dd181e2b10a80b3064151f4
parentc83aebd09c687073a99640896efbb8cf95b93a66
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