From patchwork Sat Dec 21 08:15:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 22707 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 63A0620822 for ; Sat, 21 Dec 2013 08:19:27 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wo20sf14117086obc.9 for ; Sat, 21 Dec 2013 00:19:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=Ql2Ij07O/a4sKVWk7U+wMRgD03s1qVbxkw5+6jzaf0A=; b=DEa5EjnwzUewWqzSDoriCZWlCsHzQQRdAyI7HgyB6+OlKik2+O2y68kDGB2RawX9T+ i6Efuv8eXhBmL/hEYsRiUy7oRyKXOerMTcxvftWiDhsLfrejGE/fCFOsh+x/fHnRlJAH SoCULvOb/KPst/APKRpVGqfUnPLR5b1HZ3ophnrrSJ/iJYxcOQhY9oD8e1K3FytuOkfj swnqLiJO2MHfYdbt8eIoyWHj5Lcf9oQpgkLqyRiiVe3/qqji4FQ4xB21fuQk7MXi8ync gOWGLR4K9Ai93SeEONkegGI437peVgDJ/Y1IIvkIC1RoYd32wiRQ3jOJA2nQvlzCL2NL hy5w== X-Gm-Message-State: ALoCoQllmk32T9ce7AvCv2qWwcxi/9NSM4NhgCpPDwhBPAQAtA9v+JxN10BfpVjyZlbMc6A6norP X-Received: by 10.50.72.110 with SMTP id c14mr6102116igv.2.1387613965766; Sat, 21 Dec 2013 00:19:25 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.47.103 with SMTP id c7ls1019395qen.24.gmail; Sat, 21 Dec 2013 00:19:25 -0800 (PST) X-Received: by 10.220.147.16 with SMTP id j16mr971419vcv.28.1387613965641; Sat, 21 Dec 2013 00:19:25 -0800 (PST) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id tj7si2429232vdc.98.2013.12.21.00.19.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 00:19:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id ij19so1993327vcb.3 for ; Sat, 21 Dec 2013 00:19:25 -0800 (PST) X-Received: by 10.58.155.162 with SMTP id vx2mr560770veb.46.1387613965489; Sat, 21 Dec 2013 00:19:25 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp113415ved; Sat, 21 Dec 2013 00:19:24 -0800 (PST) X-Received: by 10.15.41.140 with SMTP id s12mr9529016eev.50.1387613963517; Sat, 21 Dec 2013 00:19:23 -0800 (PST) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id t6si11951723eeh.66.2013.12.21.00.19.22 for ; Sat, 21 Dec 2013 00:19:23 -0800 (PST) Received-SPF: neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) client-ip=77.48.224.243; Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2B510264F02; Sat, 21 Dec 2013 09:19:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 41C31262607; Sat, 21 Dec 2013 09:19:14 +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 D447C26260F; Sat, 21 Dec 2013 09:19:12 +0100 (CET) Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) by alsa0.perex.cz (Postfix) with ESMTP id A9269262600 for ; Sat, 21 Dec 2013 09:19:05 +0100 (CET) Received: by mail-pb0-f45.google.com with SMTP id rp16so3546376pbb.4 for ; Sat, 21 Dec 2013 00:19:04 -0800 (PST) X-Received: by 10.66.190.198 with SMTP id gs6mr13775114pac.49.1387613943830; Sat, 21 Dec 2013 00:19:03 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oj6sm25416826pab.9.2013.12.21.00.19.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 00:19:03 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Date: Sat, 21 Dec 2013 13:45:47 +0530 Message-Id: <1387613747-22784-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Cc: sachin.kamat@linaro.org, broonie@kernel.org, michael@amarulasolutions.com Subject: [alsa-devel] [PATCH 1/1] ASoC: pcm1792a: Remove redundant of_match_ptr helper X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 'pcm1792a_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat --- sound/soc/codecs/pcm1792a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c index 7146653a8e16..f4d9b769bcda 100644 --- a/sound/soc/codecs/pcm1792a.c +++ b/sound/soc/codecs/pcm1792a.c @@ -244,7 +244,7 @@ static struct spi_driver pcm1792a_codec_driver = { .driver = { .name = "pcm1792a", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(pcm1792a_of_match), + .of_match_table = pcm1792a_of_match, }, .id_table = pcm1792a_spi_ids, .probe = pcm1792a_spi_probe,