From patchwork Tue Jan 27 20:38:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jackson X-Patchwork-Id: 5720291 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F34FC058D for ; Tue, 27 Jan 2015 20:39:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 75D7720256 for ; Tue, 27 Jan 2015 20:39:04 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 8D8A820221 for ; Tue, 27 Jan 2015 20:39:03 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8AFDB26154F; Tue, 27 Jan 2015 21:39:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 3423326153F; Tue, 27 Jan 2015 21:38:53 +0100 (CET) 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 4056B261540; Tue, 27 Jan 2015 21:38:52 +0100 (CET) Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by alsa0.perex.cz (Postfix) with ESMTP id 848C7261504 for ; Tue, 27 Jan 2015 21:38:45 +0100 (CET) Received: from e106787-lin.cambridge.arm.com (e106787-lin.cambridge.arm.com [10.1.193.153]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id t0RKcegB027253; Tue, 27 Jan 2015 20:38:40 GMT From: Andrew Jackson To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Tue, 27 Jan 2015 20:38:28 +0000 Message-Id: <1422391108-9011-1-git-send-email-andrew.jackson@arm.com> X-Mailer: git-send-email 1.7.9.5 Cc: alsa-devel@alsa-project.org, Andrew Jackson , Liviu Dudau , linux-kernel@vger.kernel.org, Rajeev Kumar , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andrew Jackson of_match_ptr is already conditionally compiled based on CONFIG_OF so further conditional compilation is not required. Remove conditional compilation surrounding of_match_ptr. Signed-off-by: Andrew Jackson --- sound/soc/dwc/designware_i2s.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c index 99cf64b..a3e97b4 100644 --- a/sound/soc/dwc/designware_i2s.c +++ b/sound/soc/dwc/designware_i2s.c @@ -624,9 +624,7 @@ static struct platform_driver dw_i2s_driver = { .remove = dw_i2s_remove, .driver = { .name = "designware-i2s", -#ifdef CONFIG_OF .of_match_table = of_match_ptr(dw_i2s_of_match), -#endif }, };