diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-07-19 16:24:59 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-07-21 11:56:18 +0200 |
commit | b785a492c6eef578520594d5c4d6e9f2cb47cbeb (patch) | |
tree | 35a3c156036348e31b4a4b95f8de64d7f89f8f78 /sound/soc/codecs/wm8962.c | |
parent | 60ea8ca21b4584cebb8163879b50ab3d941090bf (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/soc/codecs/wm8962.c')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index e2de9ecfd64..e37c06f8397 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -3175,7 +3175,7 @@ static ssize_t wm8962_beep_set(struct device *dev, long int time; int ret; - ret = strict_strtol(buf, 10, &time); + ret = kstrtol(buf, 10, &time); if (ret != 0) return ret; |