samsung-laptop.c: Prefer kstrtoint over single variable sscanf
authorDarren Hart <dvhart@linux.intel.com>
Sat, 7 Feb 2015 02:49:23 +0000 (18:49 -0800)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 7 Feb 2015 02:53:59 +0000 (18:53 -0800)
commit802cf2e1e0f202507b6e21b7a12da56d5c86af62
treeaddb20e83ff037c6d5ed69a13572dc3d074c128a
parent4e7f09ad5ea98ae60a435575ae877bd68a5f2d5c
samsung-laptop.c: Prefer kstrtoint over single variable sscanf

Replace existing usage of single variable sscanf with kstrtoint for
consistency with checkpatch warnings against such usage.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/samsung-laptop.c