diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index c5fe08bc34a0ae..c62ba8f16f6c99 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -724,6 +724,7 @@ static int spidev_probe(struct spi_device *spi) * compatible string, it is a Linux implementation thing * rather than a description of the hardware. */ + if (0) /* Disable the warning - this feature is too useful */ WARN(spi->dev.of_node && of_device_is_compatible(spi->dev.of_node, "spidev"), "%pOF: buggy DT: spidev listed directly in DT\n", spi->dev.of_node);