diff options
author | Andy Shevchenko <[email protected]> | 2019-08-16 14:15:55 +0300 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2019-08-16 14:20:31 +0300 |
commit | a5556fa1107d5b9cda75632c6ece1b4612dd1607 (patch) | |
tree | 39204230358574be5a76c5258c5f1f7eac34c81a /lib/test_overflow.c | |
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 <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions