mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 07:11:26 +00:00
18 lines
596 B
Diff
18 lines
596 B
Diff
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
|
|
index cda10719d..412adcba5 100644
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -725,11 +725,9 @@ static int spidev_probe(struct spi_device *spi)
|
|
* rather than a description of the hardware.
|
|
*/
|
|
if (spi->dev.of_node && !of_match_device(spidev_dt_ids, &spi->dev)) {
|
|
- dev_err(&spi->dev, "buggy DT: spidev listed directly in DT\n");
|
|
- WARN_ON(spi->dev.of_node &&
|
|
- !of_match_device(spidev_dt_ids, &spi->dev));
|
|
+ dev_info(&spi->dev, "probing from DT");
|
|
}
|
|
-
|
|
+
|
|
spidev_probe_acpi(spi);
|
|
|
|
/* Allocate driver data */
|