diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 23:23:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:58:16 +0200 |
commit | 20d0e57017b69e7e4ae7166c43f3a3f023ab9702 (patch) | |
tree | d55357c5972c2fdc8fe1a150a376ef50f42ff961 /drivers/firmware | |
parent | platform: convert apple-gmux driver to dev_pm_ops from legacy pm_ops (diff) | |
download | linux-20d0e57017b69e7e4ae7166c43f3a3f023ab9702.tar.xz linux-20d0e57017b69e7e4ae7166c43f3a3f023ab9702.zip |
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 <jg1.han@samsung.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Tom Gundersen <teg@jklm.no>
Cc: Mike Waychison <mikew@google.com>
Acked-by: Mike Waychison <mikew@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/google/gsmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |