mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: alsa-devel@alsa-project.org
Cc: "Dong Aisheng-B29396" <B29396@freescale.com>,
	linux-kernel@vger.kernel.org,
	"Mark Brown" <broonie@opensource.wolfsonmicro.com>,
	"Liam Girdwood" <lrg@ti.com>,
	"Lothar Waßmann" <LW@KARO-electronics.de>
Subject: [PATCH 1/5] ASoC: mxs: General cleanups
Date: Fri,  9 Dec 2011 14:38:08 +0100	[thread overview]
Message-ID: <992d017bd0214a67a836f2d0279b4edb6913da28.1323436034.git.LW@KARO-electronics.de> (raw)
In-Reply-To: <cover.1323436034.git.LW@KARO-electronics.de>
In-Reply-To: <cover.1323436034.git.LW@KARO-electronics.de>

Some textual cleanups without functional changes

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
---
 sound/soc/codecs/sgtl5000.c |   13 ++++++-------
 sound/soc/mxs/mxs-saif.c    |    2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index bbcf921..fd0489b 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -73,7 +73,7 @@ enum sgtl5000_regulator_supplies {
 static const char *supply_names[SGTL5000_SUPPLY_NUM] = {
 	"VDDA",
 	"VDDIO",
-	"VDDD"
+	"VDDD",
 };
 
 #define LDO_CONSUMER_NAME	"VDDD_LDO"
@@ -1278,7 +1278,6 @@ err_regulator_free:
 	if (external_vddd)
 		ldo_regulator_remove(codec);
 	return ret;
-
 }
 
 static int sgtl5000_probe(struct snd_soc_codec *codec)
@@ -1431,7 +1430,7 @@ static __devexit int sgtl5000_i2c_remove(struct i2c_client *client)
 
 static const struct i2c_device_id sgtl5000_id[] = {
 	{"sgtl5000", 0},
-	{},
+	{ /* sentinel */ }
 };
 
 MODULE_DEVICE_TABLE(i2c, sgtl5000_id);
@@ -1444,10 +1443,10 @@ MODULE_DEVICE_TABLE(of, sgtl5000_dt_ids);
 
 static struct i2c_driver sgtl5000_i2c_driver = {
 	.driver = {
-		   .name = "sgtl5000",
-		   .owner = THIS_MODULE,
-		   .of_match_table = sgtl5000_dt_ids,
-		   },
+		.name = "sgtl5000",
+		.owner = THIS_MODULE,
+		.of_match_table = sgtl5000_dt_ids,
+	},
 	.probe = sgtl5000_i2c_probe,
 	.remove = __devexit_p(sgtl5000_i2c_remove),
 	.id_table = sgtl5000_id,
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 76dc74d..487d2ff 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -481,7 +481,7 @@ static int mxs_saif_trigger(struct snd_pcm_substream *substream, int cmd,
 
 		/*
 		 * If the saif's master is not himself, we also need to enable
-		 * itself clk for its internal basic logic to work.
+		 * its clk for its internal basic logic to work.
 		 */
 		if (saif != master_saif) {
 			clk_enable(saif->clk);
-- 
1.5.6.5


  reply	other threads:[~2011-12-09 13:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 13:38 [PATCH 0/5] ASoC: mxs: Several cleanups and bugfixes for the MXS sound driver Lothar Waßmann
2011-12-09 13:38 ` Lothar Waßmann [this message]
2011-12-09 13:38   ` [PATCH 2/5] ASoC: mxs: add .owner to struct snd_soc_card Lothar Waßmann
2011-12-09 13:38     ` [PATCH 3/5] ASoC: mxs: Export symbols 'mxs_saif_put_mclk()' and 'mxs_saif_get_mclk()' Lothar Waßmann
2011-12-09 13:38       ` [PATCH 4/5] ASoC: mxs: Add missing MODULE_LICENSE("GPL") Lothar Waßmann
2011-12-09 13:38         ` [PATCH 5/5] ASoC: mxs: Add appropriate MODULE_ALIAS() Lothar Waßmann
2011-12-09 14:17           ` [alsa-devel] " Wolfram Sang
2011-12-11  2:59           ` Mark Brown
2011-12-09 14:17         ` [PATCH 4/5] ASoC: mxs: Add missing MODULE_LICENSE("GPL") Wolfram Sang
2011-12-11  2:59         ` Mark Brown
2011-12-09 14:15       ` [alsa-devel] [PATCH 3/5] ASoC: mxs: Export symbols 'mxs_saif_put_mclk()' and 'mxs_saif_get_mclk()' Wolfram Sang
2011-12-11  2:55         ` Mark Brown
2011-12-09 14:12     ` [alsa-devel] [PATCH 2/5] ASoC: mxs: add .owner to struct snd_soc_card Wolfram Sang
2011-12-09 14:36       ` Lothar Waßmann
2011-12-11  2:53         ` Mark Brown
2011-12-12  9:10           ` Lothar Waßmann
2011-12-12 10:04             ` Mark Brown
2011-12-09 14:07   ` [PATCH 1/5] ASoC: mxs: General cleanups Wolfram Sang
2011-12-11  3:03   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=992d017bd0214a67a836f2d0279b4edb6913da28.1323436034.git.LW@KARO-electronics.de \
    --to=lw@karo-electronics.de \
    --cc=B29396@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®