public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] ALSA: azt3328: some indenting cleanups
@ 2015-02-25 13:32 Dan Carpenter
  2015-02-25 19:10 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2015-02-25 13:32 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Takashi Iwai, Benoit Taine, Bjorn Helgaas, alsa-devel,
	kernel-janitors

A few minor tweaks to make things line up correctly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index a40a2b4..33b2a0a 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -1385,8 +1385,8 @@ snd_azf3328_ctrl_codec_activity(struct snd_azf3328 *chip,
 					.running)
 			     &&  (!chip->codecs[peer_codecs[codec_type].other2]
 					.running));
-		 }
-		 if (call_function)
+		}
+		if (call_function)
 			snd_azf3328_ctrl_enable_codecs(chip, enable);
 
 		/* ...and adjust clock, too
@@ -2126,7 +2126,8 @@ static struct snd_pcm_ops snd_azf3328_i2s_out_ops = {
 static int
 snd_azf3328_pcm(struct snd_azf3328 *chip)
 {
-enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS }; /* pcm devices */
+	/* pcm devices */
+	enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS };
 
 	struct snd_pcm *pcm;
 	int err;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] ALSA: azt3328: some indenting cleanups
  2015-02-25 13:32 [patch] ALSA: azt3328: some indenting cleanups Dan Carpenter
@ 2015-02-25 19:10 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2015-02-25 19:10 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Jaroslav Kysela, Benoit Taine, Bjorn Helgaas, alsa-devel,
	kernel-janitors

At Wed, 25 Feb 2015 16:32:45 +0300,
Dan Carpenter wrote:
> 
> A few minor tweaks to make things line up correctly.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied, thanks.


Takashi

> 
> diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
> index a40a2b4..33b2a0a 100644
> --- a/sound/pci/azt3328.c
> +++ b/sound/pci/azt3328.c
> @@ -1385,8 +1385,8 @@ snd_azf3328_ctrl_codec_activity(struct snd_azf3328 *chip,
>  					.running)
>  			     &&  (!chip->codecs[peer_codecs[codec_type].other2]
>  					.running));
> -		 }
> -		 if (call_function)
> +		}
> +		if (call_function)
>  			snd_azf3328_ctrl_enable_codecs(chip, enable);
>  
>  		/* ...and adjust clock, too
> @@ -2126,7 +2126,8 @@ static struct snd_pcm_ops snd_azf3328_i2s_out_ops = {
>  static int
>  snd_azf3328_pcm(struct snd_azf3328 *chip)
>  {
> -enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS }; /* pcm devices */
> +	/* pcm devices */
> +	enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS };
>  
>  	struct snd_pcm *pcm;
>  	int err;
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-25 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 13:32 [patch] ALSA: azt3328: some indenting cleanups Dan Carpenter
2015-02-25 19:10 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox