Skip to content

Commit 208ab92

Browse files
committed
NFM: spi: spidev: allow use of spidev in DT
This reverts commit 956b200. Signed-off-by: Robert Nelson <[email protected]>
1 parent a7ec37b commit 208ab92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/spi/spidev.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,9 @@ static int spidev_probe(struct spi_device *spi)
728728
* compatible string, it is a Linux implementation thing
729729
* rather than a description of the hardware.
730730
*/
731-
WARN(spi->dev.of_node &&
732-
of_device_is_compatible(spi->dev.of_node, "spidev"),
733-
"%pOF: buggy DT: spidev listed directly in DT\n", spi->dev.of_node);
731+
// WARN(spi->dev.of_node &&
732+
// of_device_is_compatible(spi->dev.of_node, "spidev"),
733+
// "%pOF: buggy DT: spidev listed directly in DT\n", spi->dev.of_node);
734734

735735
spidev_probe_acpi(spi);
736736

0 commit comments

Comments
 (0)