From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88FFFC61DA4 for ; Sat, 11 Mar 2023 12:57:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wWWmHStuw4f7xuf2NuOJIYxbt9LYjUbQIBdfuoR2ZRs=; b=v1+OoMayEJ5F2ARR0f2jHUEdh9 UAwZIrpdSxkup44dh8W/As+Nm0VBBG4TEg8zhaQrC57htJZ8bJrmKRJzccdmPZ6PBqBtLNzUcggl4 B2Xvm/Dmynd6TFhLtobwuDrTOctpgWjCGZ6xvayiXB+42dfkasYgnzm/he1fZ8kHz2NV/hfh0EEq5 XgFjTE2+2v6D3NNYpZv585spwRsz002ANtpo+igTaR6m85Dc8StBoaNGBE16v9IzLGJ7np/DaoH1e i3xyerlouWa2woGwXbKhjUcm8wyHEJ7dSw3jkvGCNZk8doRuT2BKCgJ0tJeP+dH2xrBVEoCtKWRi8 rX4LM1hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paymf-000Xrv-TT; Sat, 11 Mar 2023 12:57:13 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paymV-000Xnd-TM; Sat, 11 Mar 2023 12:57:05 +0000 Received: from tuc-211-071.hrz.tu-chemnitz.de ([134.109.211.71] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1paym9-0001uK-KX; Sat, 11 Mar 2023 13:56:41 +0100 From: Heiko Stuebner To: Mark Brown , Kamal Dasu , Broadcom internal kernel review list , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski Subject: Re: [PATCH 06/16] spi: rockchip: Drop of_match_ptr for ID table Date: Sat, 11 Mar 2023 13:56:40 +0100 Message-ID: <11086237.nUPlyArG6x@phil> In-Reply-To: <20230310222857.315629-6-krzysztof.kozlowski@linaro.org> References: <20230310222857.315629-1-krzysztof.kozlowski@linaro.org> <20230310222857.315629-6-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230311_045703_967334_AA9C651C X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Am Freitag, 10. M=C3=A4rz 2023, 23:28:47 CET schrieb Krzysztof Kozlowski: > 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). >=20 > drivers/spi/spi-rockchip.c:1051:34: error: =E2=80=98rockchip_spi_dt_mat= ch=E2=80=99 defined but not used [-Werror=3Dunused-const-variable=3D] >=20 > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Heiko Stuebner