]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba_haps: Replace sscanf with kstrtoint
authorAzael Avalos <coproscefalo@gmail.com>
Thu, 26 Feb 2015 17:58:30 +0000 (10:58 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 11 May 2015 17:38:22 +0000 (10:38 -0700)
commitd7c8151b7aa2f3f4ed7f9b30df73fb98a9555e81
tree8b54097b3110392916041ecb079002010f5dbc7d
parentf387343c37c344ab59979121f4ed420f8f0b484f
toshiba_haps: Replace sscanf with kstrtoint

This patch simply replaces the use of sscanf with kstrtoint returning
the error code in case that something went bad.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_haps.c