From patchwork Fri Jul 17 13:54:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11670429 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 134BF60D for ; Fri, 17 Jul 2020 13:57:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0A8320717 for ; Fri, 17 Jul 2020 13:57:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rIlAqWsz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VjzgIcU3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0A8320717 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc: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:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=a8sV0wCbJqGtUlNlao2MdsJAo12ncKxAkXZyC7iRFJA=; b=rIlAqWszyL3sG12CdenCzY75W i+zaedrK6oEhORnSNakab5wD6LHEG3okzkorTMsBlCiRI59QjFZElYTzm4FUMfAWiqQfXYjHoLLQ0 SbyXXUaYXhMpaem9q/ix8k27FaLO1hhPFlmy7XMsp3ClTa5X3YYqeSjUYLwA4iJ9v9HbrsJnqGi2Z jBXKxGmUfe15uqHXW8qHOLdhraakesABFZ08wWCRtbPfR4y2gJMVO0EWLZGGD2PNLfxOIG7Pldu6I QccSNkJYalSkBk65B16Roytwz+qhg+kwq/Sy4iceaY5onQTR37MjKVKbPn43u46sQ6mcSAN8AVpSM GZXxXS6pg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwQqQ-0003ZV-3q; Fri, 17 Jul 2020 13:56:10 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwQoy-0002uh-93 for linux-arm-kernel@lists.infradead.org; Fri, 17 Jul 2020 13:54:41 +0000 Received: by mail-wm1-x342.google.com with SMTP id c80so14957809wme.0 for ; Fri, 17 Jul 2020 06:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CPH+QD7EGY89rpfM+jPOD+8I8Jq38VLlFewJk4yzuOM=; b=VjzgIcU3+ooip1M3AXK8TOgT0tdwcKF6NfoM8oDGAwDytuhYS3FzrGb+gD0Sjj04RP 6tyujb+FQaCiDYHM2ixzWByHiOOkfBd0lBsy9VaxV+PtktCvhVOceqQZ+cKcGruuUrA0 O7Gv5SFLmuApMRfZ4hdAu4HGPK1lB5nEBEfUyYFoDANRIzWirPpShVehPf4xCLYivPps iB2xoC8Y6/AfyoniZHOquXz01a98gHtBPW5io+sA1mafGTG8zdNDuQHU+/7aGle0kbSz m/3XeCqXw41/d+ARjP+Ax1G3nDZ5ChIQ52kQUK5FqdILlK3EDB/vZfoYqY0F57+cPyl0 1E9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CPH+QD7EGY89rpfM+jPOD+8I8Jq38VLlFewJk4yzuOM=; b=nLj3odMWvlNrt+pJInAuZg7RwvgZecjadLFIwxkYpVQOFmUt090yC2+Z5z9oD3TW5Z PmWnceFN/PLkD5mJylF4lxCN3aub3vWJq8w8BOJqjZJxUeKO1p7QhAUwo3RA9IvXsYoI k2nSL56WWLZlvozywW8R6vxST6jODveiB+nA48sfkmeSb03BkTR3+ryzKDGy1n+0RLpU VN3Nt/vS9obzHx8D1Xa9wvh3agdXDxfRDRDhsmxY5WKxbKA8Q6oViSc3aLUmTT0xCq6R KrwBBCPdvdh0x+4rW1TPbwNipYCsHd6C0+ViRyPf1BBEU5n+Syz+sC93+Liw3dFSnYqS lS9g== X-Gm-Message-State: AOAM533mDlTleGAPIuWMjI1k1Evvdqq6D7+CD8rQO+S1u/c7NPoKYb8S uyS6rx0TeGbVrK5ek6CbbAB+5g== X-Google-Smtp-Source: ABdhPJw8rtOM08fs2Dc82BjfBnHOOT1pIb5vMuLLZE4XFUuoUcXbreINH3AZhhkT4VVddL8v21h2jw== X-Received: by 2002:a1c:48d7:: with SMTP id v206mr9115687wma.145.1594994079322; Fri, 17 Jul 2020 06:54:39 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id w128sm16118356wmb.19.2020.07.17.06.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 06:54:38 -0700 (PDT) From: Lee Jones To: broonie@kernel.org Subject: [PATCH v2 12/14] spi: spi-at91-usart: Remove unused OF table 'struct of_device_id' Date: Fri, 17 Jul 2020 14:54:22 +0100 Message-Id: <20200717135424.2442271-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717135424.2442271-1-lee.jones@linaro.org> References: <20200717135424.2442271-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200717_095440_431539_8A48E790 X-CRM114-Status: GOOD ( 11.43 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Radu Pirea , linux-kernel@vger.kernel.org, Ludovic Desroches , linux-spi@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The only way this driver can be probed by MFD via its parent device. No other reference to 'microchip,at91sam9g45-usart-spi' exists in the kernel. Fixes the following W=1 kernel build warning(s): drivers/spi/spi-at91-usart.c:684:34: warning: ‘at91_usart_spi_dt_ids’ defined but not used [-Wunused-const-variable=] 684 | static const struct of_device_id at91_usart_spi_dt_ids[] = { | ^~~~~~~~~~~~~~~~~~~~~ Cc: Radu Pirea Cc: Nicolas Ferre Cc: Ludovic Desroches Suggested-by: Alexandre Belloni Signed-off-by: Lee Jones Acked-by: Alexandre Belloni --- drivers/spi/spi-at91-usart.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c index 88033422a42ae..8c8352625d232 100644 --- a/drivers/spi/spi-at91-usart.c +++ b/drivers/spi/spi-at91-usart.c @@ -681,13 +681,6 @@ static const struct dev_pm_ops at91_usart_spi_pm_ops = { at91_usart_spi_runtime_resume, NULL) }; -static const struct of_device_id at91_usart_spi_dt_ids[] = { - { .compatible = "microchip,at91sam9g45-usart-spi"}, - { /* sentinel */} -}; - -MODULE_DEVICE_TABLE(of, at91_usart_spi_dt_ids); - static struct platform_driver at91_usart_spi_driver = { .driver = { .name = "at91_usart_spi",