stmmac: do not use strict_strtoul but kstrtoint
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 27 Jun 2012 21:14:35 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Jul 2012 10:34:49 +0000 (03:34 -0700)
commitea2ab8711b8a4363e3b3ee0dc609d1b3c8b92899
treee6ccbd1015a236a077fe29d5c91db482fbdc4b39
parentc801e3cc1925e02fa7213889306d4d77e6ad1550
stmmac: do not use strict_strtoul but kstrtoint

This patch replaces the obsolete strict_strtoul with kstrtoint.

v2: also removed casting on kstrtoul.
v3: use kstrtoint instead of kstrtoul due to all vars are integer.
    thanks to E. Dumazet.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c