diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 1594e57c3546e..05f6c36284dca 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -755,6 +755,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);