mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
60ea8ca21b
commit
b785a492c6
5 changed files with 11 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue