b43legacy: replace simple_strtol() with kstrtoint()
authorchenqiwu <chenqiwu@xiaomi.com>
Wed, 19 Feb 2020 04:15:59 +0000 (12:15 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Mar 2020 13:40:45 +0000 (15:40 +0200)
commit871b4b48cdbfe4fb7f687801fc265619b35cf476
tree6c2c7856e7014bf58598aa7336ddec6b198c0ccf
parent90a39326f1d15c660b5b179ad1ff0730d3036db9
b43legacy: replace simple_strtol() with kstrtoint()

The simple_strtol() function is deprecated since it does not
check for the range overflow. Use kstrtoint() instead.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43legacy/sysfs.c