Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5111c075 authored by Mark Brown's avatar Mark Brown Committed by Takashi Iwai
Browse files

[ALSA] soc - s3c24xx-pcm - Fix checkpatch warnings

parent ccfdd6c2
Loading
Loading
Loading
Loading
+16 −17
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@

#include <linux/module.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
@@ -30,7 +31,6 @@
#include <sound/soc.h>

#include <asm/dma.h>
#include <asm/io.h>
#include <asm/hardware.h>
#include <asm/arch/dma.h>
#include <asm/arch/audio.h>
@@ -355,11 +355,11 @@ static int s3c24xx_pcm_close(struct snd_pcm_substream *substream)

	DBG("Entered %s\n", __func__);

	if (prtd)
		kfree(prtd);
	else
	if (!prtd)
		DBG("s3c24xx_pcm_close called with prtd == NULL\n");

	kfree(prtd);

	return 0;
}

@@ -467,7 +467,6 @@ struct snd_soc_platform s3c24xx_soc_platform = {
	.pcm_new	= s3c24xx_pcm_new,
	.pcm_free	= s3c24xx_pcm_free_dma_buffers,
};

EXPORT_SYMBOL_GPL(s3c24xx_soc_platform);

MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");