alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: <zhaoming.zeng@freescale.com>
To: alsa-devel@alsa-project.org
Cc: Zeng Zhaoming <b32542@freescale.com>,
	s.hauer@pengutronix.de, broonie@opensource.wolfsonmicro.com,
	timur.tabi@gmail.com, zengzm.kernel@gmail.com,
	arnaud.patard@rtp-net.org, lrg@slimlogic.co.uk
Subject: [PATCH] ASoC: remove unnecessary header including in SGTL5000 codec driver
Date: Mon, 28 Feb 2011 03:45:21 +0800	[thread overview]
Message-ID: <1298835921-16428-1-git-send-email-zhaoming.zeng@freescale.com> (raw)

From: Zeng Zhaoming <b32542@freescale.com>

Remove unnecessary headers:
 - mach/hardware.h in sgtl5000.c
 - linux/i2c.h in sgtl5000.h

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
---
 sound/soc/codecs/sgtl5000.c |    1 -
 sound/soc/codecs/sgtl5000.h |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index 9eb206e..b528f97 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -27,7 +27,6 @@
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
 #include <sound/initval.h>
-#include <mach/hardware.h>
 
 #include "sgtl5000.h"
 
diff --git a/sound/soc/codecs/sgtl5000.h b/sound/soc/codecs/sgtl5000.h
index c29312a..eec3ab3 100644
--- a/sound/soc/codecs/sgtl5000.h
+++ b/sound/soc/codecs/sgtl5000.h
@@ -11,8 +11,6 @@
 #ifndef _SGTL5000_H
 #define _SGTL5000_H
 
-#include <linux/i2c.h>
-
 /*
  * Register values.
  */
-- 
1.7.0.4

             reply	other threads:[~2011-02-28  3:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 19:45 zhaoming.zeng [this message]
2011-02-28 14:33 ` [PATCH] ASoC: remove unnecessary header including in SGTL5000 codec driver 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=1298835921-16428-1-git-send-email-zhaoming.zeng@freescale.com \
    --to=zhaoming.zeng@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnaud.patard@rtp-net.org \
    --cc=b32542@freescale.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=s.hauer@pengutronix.de \
    --cc=timur.tabi@gmail.com \
    --cc=zengzm.kernel@gmail.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;
as well as URLs for NNTP newsgroup(s).