aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
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/soc/omap
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/soc/omap')
-rw-r--r--sound/soc/omap/mcbsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c
index eb68c7db1cf3..e4980c5d7609 100644
--- a/sound/soc/omap/mcbsp.c
+++ b/sound/soc/omap/mcbsp.c
@@ -781,7 +781,7 @@ static ssize_t prop##_store(struct device *dev, \
781 unsigned long val; \ 781 unsigned long val; \
782 int status; \ 782 int status; \
783 \ 783 \
784 status = strict_strtoul(buf, 0, &val); \ 784 status = kstrtoul(buf, 0, &val); \
785 if (status) \ 785 if (status) \
786 return status; \ 786 return status; \
787 \ 787 \