ctcm: replace sscanf by kstrto function
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Wed, 22 Oct 2014 10:18:07 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 02:21:40 +0000 (22:21 -0400)
commit652d77ba7be01093bf7e83090267533970028b12
tree9987fbb52f202b9b4162edefce8594d8fe328ad2
parent786f00659afd013ee8795083f3966c28323b3a03
ctcm: replace sscanf by kstrto function

Since a single integer value is read from the supplied buffer
use the kstrto functions instead of sscanf.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ctcm_sysfs.c