summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cx20442.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-07-22 14:51:41 +0300
committerMark Brown <broonie@kernel.org>2021-07-29 17:35:50 +0300
commitdfe1114638d1888916fd9ceb50314e19f632dfad (patch)
tree66786cd635cb230388a87c17dfc7d65523a5e0c0 /sound/soc/codecs/cx20442.c
parentd7a3a6801913a4b57a7e525c4906d348213acfb0 (diff)
downloadlinux-dfe1114638d1888916fd9ceb50314e19f632dfad.tar.xz
ASoC: v253_init: eliminate pointer to string
There is no need to have an extra pointer to a string (v253_init). Convert it to an array. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210722115141.516-2-jslaby@suse.cz Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cx20442.c')
-rw-r--r--sound/soc/codecs/cx20442.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c
index 65c6b92d7b5f..13258f3ca9aa 100644
--- a/sound/soc/codecs/cx20442.c
+++ b/sound/soc/codecs/cx20442.c
@@ -206,7 +206,7 @@ static int cx20442_write(struct snd_soc_component *component, unsigned int reg,
*/
/* Modem init: echo off, digital speaker off, quiet off, voice mode */
-static const char *v253_init = "ate0m0q0+fclass=8\r";
+static const char v253_init[] = "ate0m0q0+fclass=8\r";
/* Line discipline .open() */
static int v253_open(struct tty_struct *tty)