aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndy Shevchenko2019-08-16 14:15:55 +0300
committerAndy Shevchenko2019-08-16 14:20:31 +0300
commita5556fa1107d5b9cda75632c6ece1b4612dd1607 (patch)
tree39204230358574be5a76c5258c5f1f7eac34c81a /kernel
parent84d8e80b0a3612aad746837e95d8efe324fdc5c6 (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 'kernel')
0 files changed, 0 insertions, 0 deletions