diff options
author | Andy Shevchenko | 2019-08-16 14:15:55 +0300 |
---|---|---|
committer | Andy Shevchenko | 2019-08-16 14:20:31 +0300 |
commit | a5556fa1107d5b9cda75632c6ece1b4612dd1607 (patch) | |
tree | 39204230358574be5a76c5258c5f1f7eac34c81a /certs | |
parent | 84d8e80b0a3612aad746837e95d8efe324fdc5c6 (diff) |
platform/x86: asus-wmi: Replace sscanf() with kstrtoint()
The use of sscanf() is an overkill here. Moreover, there is no need to check
for count to be 0, since it's guaranteed by sysfs not to be.
Taking above into account, replace sscanf() with kstrtoint() calls.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions