aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-19 03:24:59 -0400
committerTakashi Iwai <tiwai@suse.de>2013-07-21 05:56:18 -0400
commitb785a492c6eef578520594d5c4d6e9f2cb47cbeb (patch)
tree35a3c156036348e31b4a4b95f8de64d7f89f8f78 /sound/drivers
parent60ea8ca21b4584cebb8163879b50ab3d941090bf (diff)
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')
-rw-r--r--sound/drivers/dummy.c2
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,
1022 if (i >= ARRAY_SIZE(fields)) 1022 if (i >= ARRAY_SIZE(fields))
1023 continue; 1023 continue;
1024 snd_info_get_str(item, ptr, sizeof(item)); 1024 snd_info_get_str(item, ptr, sizeof(item));
1025 if (strict_strtoull(item, 0, &val)) 1025 if (kstrtoull(item, 0, &val))
1026 continue; 1026 continue;
1027 if (fields[i].size == sizeof(int)) 1027 if (fields[i].size == sizeof(int))
1028 *get_dummy_int_ptr(dummy, fields[i].offset) = val; 1028 *get_dummy_int_ptr(dummy, fields[i].offset) = val;