diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-07-19 11:24:59 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-21 13:56:18 +0400 |
commit | b785a492c6eef578520594d5c4d6e9f2cb47cbeb (patch) | |
tree | 35a3c156036348e31b4a4b95f8de64d7f89f8f78 /sound/drivers/dummy.c | |
parent | 60ea8ca21b4584cebb8163879b50ab3d941090bf (diff) | |
download | linux-b785a492c6eef578520594d5c4d6e9f2cb47cbeb.tar.xz |
ALSA: replace strict_strto*() with kstrto*()
The usage of strict_strto*() is not preferred, because
strict_strto*() is obsolete. Thus, kstrto*() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/dummy.c')
-rw-r--r-- | sound/drivers/dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index 11048cc744d0..915b4d7fbb23 100644 --- a/sound/drivers/dummy.c +++ b/sound/drivers/dummy.c @@ -1022,7 +1022,7 @@ static void dummy_proc_write(struct snd_info_entry *entry, if (i >= ARRAY_SIZE(fields)) continue; snd_info_get_str(item, ptr, sizeof(item)); - if (strict_strtoull(item, 0, &val)) + if (kstrtoull(item, 0, &val)) continue; if (fields[i].size == sizeof(int)) *get_dummy_int_ptr(dummy, fields[i].offset) = val; |