From: Jiri Slaby Date: Thu, 22 Jul 2021 11:51:41 +0000 (+0200) Subject: v253_init: eliminate pointer to string X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8496f60a670debe356a9168a66b7560641e53e93;p=linux.git 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. Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-devel@alsa-project.org Signed-off-by: Jiri Slaby Link: https://lore.kernel.org/r/20210722115141.516-2-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index 65c6b92d7b5f3..13258f3ca9aae 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)