From: Jingoo Han Date: Wed, 11 Sep 2013 21:23:17 +0000 (-0700) Subject: drivers/firmware/google/gsmi.c: replace strict_strtoul() with kstrtoul() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=20d0e57017b69e7e4ae7166c43f3a3f023ab9702;p=openwrt%2Fstaging%2Fblogic.git drivers/firmware/google/gsmi.c: replace strict_strtoul() with kstrtoul() The use of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han Cc: Matt Fleming Cc: Tom Gundersen Cc: Mike Waychison Acked-by: Mike Waychison Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/firmware/google/gsmi.c b/drivers/firmware/google/gsmi.c index acba0b9f4406..6eb535ffeddc 100644 --- a/drivers/firmware/google/gsmi.c +++ b/drivers/firmware/google/gsmi.c @@ -525,7 +525,7 @@ static ssize_t gsmi_clear_eventlog_store(struct kobject *kobj, u32 data_type; } param; - rc = strict_strtoul(buf, 0, &val); + rc = kstrtoul(buf, 0, &val); if (rc) return rc;