Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1389873pxb; Fri, 20 Nov 2020 08:20:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIT3GLLCU17xL2GdUbDoQTddJWgkIGEtqP6LpRSE+I+iCkCA48o/D2IS0VW8PiSx6S/W/a X-Received: by 2002:a50:8e0e:: with SMTP id 14mr24749396edw.171.1605889246179; Fri, 20 Nov 2020 08:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605889246; cv=none; d=google.com; s=arc-20160816; b=q8SdVg/3PEzKPb3gbKntMfZ0HksVV6H6uGyRkp+jo1+4hFoeA6n2xLo+mTmrbEN5re 1H3lM2fzxwLWg5px3w9R3EQpCb27C+f1LdeyKQ2OyxF3iMIbv+EcdkyU2LZpSCtr45lJ 6Ldmtu81HyMPVUfVSU/LNodwOreKziXOgTCmibrzMGstmvpl+X3f5oH0RMZfhc8kRHpB jeKg/m0xenmbELvkCYbhqaqgzZv/Tnl9dIzg+i/V4mJOCMr+ZR3zeTKMdS8ZesJLiPiv fZo6+3O+ZrRKXPBvtlEzkSfhGoCYaDPZrOvka1VU29LNXv2MiZ1PvBigmi89MHo8MK34 yHhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0V2vLSkrubQDXSdaUg2lNipR1t8Gf3U1Yb0EOPgh4gM=; b=Q2ZVJna9UGvJT1i+q+2w43rTkZ4RNEoM6purgN6hOtYfbRwt+5N4exxRWp1LQhmR3z TXiaPyn3/41V+M0Jus6i4cuvz+F3z2BGVExBDEQtaiyK18DXYEyS72/WjxYCoV6AemRC r3XqFwa/6dJ8tnFaMK0T67WQgfmoC0zvl7eDeL5WkhQhNdmqmLbxn48DtvCOE8fnIKoa lRvr7eFYxH3cV5ZLX+ctr8GhdREQM3BfqTO0Uy6yq0Eaf+7bkJGhcOi5ZlAwXaHxkQc4 bJC0QK7Cc1mtizn8G9fkP6zpBi1C3NNMjI6lMYHuJSDcItexEbL6R6GMqNy+LOOO1OeZ ezWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QWlhuIwX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si1877672ejt.298.2020.11.20.08.20.22; Fri, 20 Nov 2020 08:20:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QWlhuIwX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729112AbgKTQSX (ORCPT + 99 others); Fri, 20 Nov 2020 11:18:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:35058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729094AbgKTQSW (ORCPT ); Fri, 20 Nov 2020 11:18:22 -0500 Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch [84.226.167.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3D9E422D0A; Fri, 20 Nov 2020 16:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605889101; bh=LoZ8MEoTv7rDCX6hpawQGW8JCdHOH0nJLp45COZaV1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QWlhuIwXxRhcctfQnjYTxO9qFyRJc3VE2ARu3z0o6qM1eS4eFsj4WMsV+2D2z5dKF FqLb05GDhwJW15B4bhFfiN6+sLMvmMno5Ja7sc1gbwM947Xybi/YhFYIUGSo1sxYwE 0lWaldhFAqc5qbomVbk53FcF2A71ZExWNd6p5+DE= From: Krzysztof Kozlowski To: linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org Cc: Krzysztof Kozlowski , Peter Ujfalusi , Jaroslav Kysela , Takashi Iwai Subject: [PATCH 11/38] ASoC: ti: davinci: drop of_match_ptr from of_device_id table Date: Fri, 20 Nov 2020 17:16:25 +0100 Message-Id: <20201120161653.445521-11-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201120161653.445521-1-krzk@kernel.org> References: <20201120161653.445521-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver can match only via the DT table so the table should be always used and the of_match_ptr does not have any sense (this also allows ACPI matching via PRP0001, even though it is not relevant here). This fixes compile warning (!CONFIG_OF on x86_64): sound/soc/ti/davinci-i2s.c:750:34: warning: ‘davinci_i2s_match’ defined but not used [-Wunused-const-variable=] Signed-off-by: Krzysztof Kozlowski --- sound/soc/ti/davinci-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/ti/davinci-i2s.c b/sound/soc/ti/davinci-i2s.c index dd34504c09ba..0039b689745a 100644 --- a/sound/soc/ti/davinci-i2s.c +++ b/sound/soc/ti/davinci-i2s.c @@ -758,7 +758,7 @@ static struct platform_driver davinci_mcbsp_driver = { .remove = davinci_i2s_remove, .driver = { .name = "davinci-mcbsp", - .of_match_table = of_match_ptr(davinci_i2s_match), + .of_match_table = davinci_i2s_match, }, }; -- 2.25.1