OSDN Git Service

atm: solos-pci: Replace simple_strtol by kstrtoint
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 4 Dec 2015 07:43:19 +0000 (08:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Dec 2015 22:50:55 +0000 (17:50 -0500)
commite94d91a6eb155ff77110863d15ba51b3c6b5c548
treee643de1e36a72677db63f75d4c5ac01088828931
parent857e8a6765d6463dda9b4ffd53cb2663b15ae939
atm: solos-pci: Replace simple_strtol by kstrtoint

The simple_strtol function is obsolete.
This patch replace it by kstrtoint.
This will simplify code, since some error case not handled by
simple_strtol are handled by kstrtoint.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c