OSDN Git Service

Staging: ft1000-usb: Fix call to obsolete function
authorKurt Kanzenbach <shifty91@gmail.com>
Wed, 5 Dec 2012 19:03:35 +0000 (20:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 20:33:45 +0000 (12:33 -0800)
commita11b0e860bff66d20d7d88211df58620619a0fcd
treec9c8e2c08ea3dc5f9f080549136cf0232a2fae58
parentdedbc93318b89c0386670a5c3e1de621311a40b0
Staging: ft1000-usb: Fix call to obsolete function

strict_strtoul is obsolete and should be replaced with
kstrto* function as reported by checkpatch.pl.
pInfo->CardNumber is a u8. This is why kstrtou8 should be
used here.

Signed-off-by: Kurt Kanzenbach <shifty91@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c