ASoC: topology: Do not split message string on multiple lines
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 19 May 2023 19:56:09 +0000 (21:56 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 May 2023 10:18:45 +0000 (11:18 +0100)
Kernel coding guidelines recommend to not split string unnecessarily.
While at it adapt the other print present in the function to 100
characters line limit.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230519195611.4068853-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c

index b5c47b3..0249e91 100644 (file)
@@ -1513,15 +1513,13 @@ static int soc_tplg_dapm_complete(struct soc_tplg *tplg)
         * If so, just return success.
        */
        if (!snd_soc_card_is_instantiated(card)) {
-               dev_warn(tplg->dev, "ASoC: Parent card not yet available,"
-                       " widget card binding deferred\n");
+               dev_warn(tplg->dev, "ASoC: Parent card not yet available, widget card binding deferred\n");
                return 0;
        }
 
        ret = snd_soc_dapm_new_widgets(card);
        if (ret < 0)
-               dev_err(tplg->dev, "ASoC: failed to create new widgets %d\n",
-                       ret);
+               dev_err(tplg->dev, "ASoC: failed to create new widgets %d\n", ret);
 
        return ret;
 }