From patchwork Thu Sep 24 15:34:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 7257861 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 082829F32B for ; Thu, 24 Sep 2015 15:34:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A28420840 for ; Thu, 24 Sep 2015 15:34:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 81A5B2082F for ; Thu, 24 Sep 2015 15:34:26 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0917C265BA3; Thu, 24 Sep 2015 17:34:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id CC28E265AFF; Thu, 24 Sep 2015 17:34:17 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8E330265AFC; Thu, 24 Sep 2015 17:34:15 +0200 (CEST) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by alsa0.perex.cz (Postfix) with ESMTP id 49484265AFC for ; Thu, 24 Sep 2015 17:34:08 +0200 (CEST) Received: by pacgz1 with SMTP id gz1so9558915pac.3 for ; Thu, 24 Sep 2015 08:34:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=RoDyaDz7yu+nMli00tyH7bs+Z/iXuoBoHCg3xOZk45c=; b=CLlNgYxaoyv+tQySjrCUKD2Ak7RebhwaTTTm9qrkiLPrqkfhhoFqgqaO8xwtpUQ9dm bAbtoC2GlNIeg5zUXclex1lHJYZ6ioBcbTgezPtHefNw0EbCdNlKaP//I7fI/zduNNzg MDH2BueXWGxWaiKqLaEAJIqWF8G0aXlN1BffH+wGOCJVG42ekPbmooOvzKxnmFbJpmiT dxpdRx4z+edMkv79Baxww5/HZzNuCxg0la9x2ZOSB34wUuwrhgYfdAaOUC2ya7yyB2aA AsbnkmEEFog1J7Q4BsLKQTtG9Z4nfPq2xZW0HXN8pLTTv0zluTTVUOn668B6PTigc/MF 76vg== X-Gm-Message-State: ALoCoQmV7+1dSUVEcWXuXIz28Djrd6zc0BMsvOgQYCGVG8ClgXCpKTBGfacc6FyfkEF/LSKI0cxo X-Received: by 10.68.235.99 with SMTP id ul3mr395932pbc.138.1443108846297; Thu, 24 Sep 2015 08:34:06 -0700 (PDT) Received: from phoenix (218-164-26-87.dynamic.hinet.net. [218.164.26.87]) by smtp.gmail.com with ESMTPSA id ey3sm14308003pbd.28.2015.09.24.08.34.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 08:34:04 -0700 (PDT) Message-ID: <1443108841.21872.1.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Thu, 24 Sep 2015 23:34:01 +0800 X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Cc: Oder Chiou , Bard Liao , alsa-devel@alsa-project.org, Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: rl6347a: Clean up unneeded inclusion of header files X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Also move the include of sound/hda_verbs.h to rl6347a.h because it is used in rl6347a.h. Signed-off-by: Axel Lin --- sound/soc/codecs/rl6347a.c | 19 +------------------ sound/soc/codecs/rl6347a.h | 2 ++ sound/soc/codecs/rt286.c | 1 - sound/soc/codecs/rt298.c | 1 - 4 files changed, 3 insertions(+), 20 deletions(-) diff --git a/sound/soc/codecs/rl6347a.c b/sound/soc/codecs/rl6347a.c index 91d5166..a4b910e 100644 --- a/sound/soc/codecs/rl6347a.c +++ b/sound/soc/codecs/rl6347a.c @@ -11,25 +11,8 @@ */ #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include "rl6347a.h" diff --git a/sound/soc/codecs/rl6347a.h b/sound/soc/codecs/rl6347a.h index 1cb56e5..e127919 100644 --- a/sound/soc/codecs/rl6347a.h +++ b/sound/soc/codecs/rl6347a.h @@ -12,6 +12,8 @@ #ifndef __RL6347A_H__ #define __RL6347A_H__ +#include + #define VERB_CMD(V, N, D) ((N << 20) | (V << 8) | D) #define RL6347A_VENDOR_REGISTERS 0x20 diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index bd93658..1fbdb4f 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -29,7 +29,6 @@ #include #include #include -#include #include "rl6347a.h" #include "rt286.h" diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c index 3c2f0f8..2a6c2ba 100644 --- a/sound/soc/codecs/rt298.c +++ b/sound/soc/codecs/rt298.c @@ -28,7 +28,6 @@ #include #include #include -#include #include "rl6347a.h" #include "rt298.h"