commit | 7f166addbebdcaeefe36997d5b8dceb96c5619fa | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Feb 16 17:40:24 2018 +0200 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Feb 19 17:03:43 2018 +0200 |
tree | d66206c1b447f0b842c0d684ce0a219432e0b0d1 | |
parent | 04e4e888558ebe5d9701e31bba61d4e256ab71a8 [diff] |
platform/x86: wmi: Replace kmalloc + sprintf() with kasprintf() kasprintf() does the job of two: kmalloc() and sprintf(). Replace two calls with one. Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>