Message ID | 20230310222857.315629-11-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org> 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 5D613C6FA99 for <linux-amlogic@archiver.kernel.org>; Fri, 10 Mar 2023 22:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=5PSduDBeeeIgIH1PvTaIP2YlcpS+MJKn8v7b8lIbGro=; b=XcyrM7EjEWqw9J ONJrR39QVmbmqiocHKF04Abg/CnmgiU7c7oocJz1cStnEcY4/+yu7y5LYJ6ow9rJzjIc9eo2VuWk1 xp5DogKLFQSeOQ1EqXwvkgC6QKJDPpgcbaTD77XQl2JReiZ9Th2gbRU6TRVdLWS+kEexIdK0AyB3T icn0KMveX6Vp0MXjFcatz976VkUND2HqDo2mnw1xV9LJE/xTskJs3PTZTyr8Lr/S0Up2G8f3xqZGF yRanJvSkvV+xLCKzHftE721LFh3ZhWXZ1XCRPGY/f7AO9z2Beq0zjUnoPHMBpkbHsTsuArEcoTEvY h1sOKRScbXiX9gzQoZ7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1palXj-00GV8E-HT; Fri, 10 Mar 2023 22:48:55 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1palWF-00GUMw-4B for linux-amlogic@bombadil.infradead.org; Fri, 10 Mar 2023 22:47:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=EBGP8+ktL4ywlJvW0lmVhlwvhFE47q82UhD5J/2MFQU=; b=dcKAdkIBtQvo+m/kDQwTs0Q8NC NCdVeLcmP4Zks/ruZWjqHpfSxhzc4FDL3RX8fBs2cdrgFWd0N0L62YMjg4bp3hunE3l7gOj1IjgXs /YuaeqRwWHJEZGj/OGSys8NvnWdn+lzs3oa13FCHc5Y2DOCuZzfW2InSHU5BKWMLJ3T7olWq95x9q p3yy6OSQVMrb5S9RT02z+AeKVSgd8cLxpEC4XYKHQXPccC/iNbpwHgza2qogIdMJBrOpVIjmX1axF BSQS5XmU1aJrVZ9T8MZt6VpDQzGB3vY2tJn4zRf9yPNb1N75+KBsnXLGnh3lhr7eD1+kKH0lag3N2 Nr3AglJg==; Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1palEh-000ar4-2u for linux-amlogic@lists.infradead.org; Fri, 10 Mar 2023 22:29:19 +0000 Received: by mail-ed1-x52c.google.com with SMTP id a25so26664320edb.0 for <linux-amlogic@lists.infradead.org>; Fri, 10 Mar 2023 14:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678487354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=EBGP8+ktL4ywlJvW0lmVhlwvhFE47q82UhD5J/2MFQU=; b=LwLmThATdX5HNobFSO+brNDu9RIY0acCKrwYmzGtVVzjJZhxTQOKm1spvMnktyhki3 GDwqNCGFwqRn/7kUnE2lvo6YeFswYlvoaGlsKar5EQh1lq3Rcjjwqy6OGpcVDNU3megk WFF0BAcHkCebD9I2lbM+rrRRozHdxVVBtVHvFK6l2abJTAdNDYnWD8b36mCK61PQMFeI SkDYYKWQY3CFhDmOmFII38SNil/wTwBD4rDZJ7kqUJI1MdEdL2MGcroBZUk2eWcbU7cc yDDyqclvrv9smz6jIhBdL78omNdTQvynMcvOFzZBmB1Mspasb8f3jl1xnD5+cYctGRR3 CY+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678487354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EBGP8+ktL4ywlJvW0lmVhlwvhFE47q82UhD5J/2MFQU=; b=7u0u0pKkVcxUq/EJAgKMwob3/fvC5HOrjp/GqRZ7c45Ec4ZVJECwSnWP62YJ92hQKf Fyj0o691bo9p+1bIjzsYs4TUfS8DI8M0BxZ6Dg76/ZBG1J/yIhdN1oqtvUvT0iJeE0pJ vNihjcdaNlMSANyhg0RNtpe7IZggcgo7c+WAmh+CptT0+8TWbOGJLa4STeWct//ipp8X V3G1bmA9UqQ0KfYZfCnvRTSexdk5tzvQhRFqNo15itAAMH3A0v7ut7PQBZxCgfLmVPFI Y96DxccTBtMY9l3N7Pu2fazqenZBqiyE+7Y19Vlrc6+C1JXQXSlZVCB9jG8ezmP7Ldtu Lq4g== X-Gm-Message-State: AO0yUKV0Pn+llYNnp0HHElJTztU3QV7bsH0bvRAYf3z3c09ATuWRTnLE /3G20q/0eje1F/sAaOHf9C0fjQ== X-Google-Smtp-Source: AK7set8uL4nXFDVb7rsO+o6EWoU4A34ihg/j/XmN4ZE+rbabtjirYsg20d8X3gBVCVm6QRcADU/42Q== X-Received: by 2002:a05:6402:5154:b0:4bd:6b93:1289 with SMTP id n20-20020a056402515400b004bd6b931289mr24124882edd.15.1678487354154; Fri, 10 Mar 2023 14:29:14 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:34:52e3:a77e:cac5]) by smtp.gmail.com with ESMTPSA id x101-20020a50baee000000b004aeeb476c5bsm525467ede.24.2023.03.10.14.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 14:29:13 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Mark Brown <broonie@kernel.org>, Kamal Dasu <kdasu.kdev@gmail.com>, Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Heiko Stuebner <heiko@sntech.de>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Andi Shyti <andi@etezian.org>, Alim Akhtar <alim.akhtar@samsung.com>, Stephen Boyd <sboyd@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, 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 Subject: [PATCH 11/16] spi: st-ssc4: Drop of_match_ptr for ID table Date: Fri, 10 Mar 2023 23:28:52 +0100 Message-Id: <20230310222857.315629-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230310222857.315629-1-krzysztof.kozlowski@linaro.org> References: <20230310222857.315629-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230310_222916_245191_968CD723 X-CRM114-Status: GOOD ( 15.37 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
[01/16] spi: armada-3700: Drop of_match_ptr for ID table
|
expand
|
diff --git a/drivers/spi/spi-st-ssc4.c b/drivers/spi/spi-st-ssc4.c index 9141f19c7f8e..3fe266c336ab 100644 --- a/drivers/spi/spi-st-ssc4.c +++ b/drivers/spi/spi-st-ssc4.c @@ -446,7 +446,7 @@ static struct platform_driver spi_st_driver = { .driver = { .name = "spi-st", .pm = &spi_st_pm, - .of_match_table = of_match_ptr(stm_spi_match), + .of_match_table = stm_spi_match, }, .probe = spi_st_probe, .remove_new = spi_st_remove,
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). drivers/spi/spi-st-ssc4.c:439:34: error: ‘stm_spi_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- drivers/spi/spi-st-ssc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)