summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-19 09:24:59 +0200
committerTakashi Iwai <tiwai@suse.de>2013-07-21 11:56:18 +0200
commitb785a492c6eef578520594d5c4d6e9f2cb47cbeb (patch)
tree35a3c156036348e31b4a4b95f8de64d7f89f8f78 /sound/soc/codecs/wm8962.c
parentALSA: hda - Add snd_hda_jack_detect_state() helper function (diff)
downloadlinux-b785a492c6eef578520594d5c4d6e9f2cb47cbeb.tar.xz
linux-b785a492c6eef578520594d5c4d6e9f2cb47cbeb.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index e2de9ecfd641..e37c06f8397c 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;