summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-xlp.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-11-09 10:13:25 -0600
committerMark Brown <broonie@kernel.org>2021-11-15 13:27:17 +0000
commitf7d344f2188c9f16e434cadf2a954b5d40365c14 (patch)
tree196f32d9f5c624af25106726f80c1316d9ea6614 /drivers/spi/spi-xlp.c
parentf02bff30114f385d53ae3e45141db602923bca5d (diff)
downloadlinux-f7d344f2188c9f16e434cadf2a954b5d40365c14.tar.bz2
spi: xlp: Remove Netlogic XLP variants
Netlogic XLP was removed in commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove the Netlogic variant and DT support. For simplicity, the existing kconfig name is retained. Cc: Mark Brown <broonie@kernel.org> Cc: linux-spi@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211109161325.2203564-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-xlp.c')
-rw-r--r--drivers/spi/spi-xlp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/spi/spi-xlp.c b/drivers/spi/spi-xlp.c
index 797ac0ea8fa3..e5707fe5c8f1 100644
--- a/drivers/spi/spi-xlp.c
+++ b/drivers/spi/spi-xlp.c
@@ -9,7 +9,6 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
-#include <linux/of.h>
#include <linux/interrupt.h>
/* SPI Configuration Register */
@@ -436,17 +435,10 @@ static const struct acpi_device_id xlp_spi_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, xlp_spi_acpi_match);
#endif
-static const struct of_device_id xlp_spi_dt_id[] = {
- { .compatible = "netlogic,xlp832-spi" },
- { },
-};
-MODULE_DEVICE_TABLE(of, xlp_spi_dt_id);
-
static struct platform_driver xlp_spi_driver = {
.probe = xlp_spi_probe,
.driver = {
.name = "xlp-spi",
- .of_match_table = xlp_spi_dt_id,
.acpi_match_table = ACPI_PTR(xlp_spi_acpi_match),
},
};