Skip to content
Commit 956b200a authored by Mark Brown's avatar Mark Brown
Browse files

spi: spidev: Warn loudly if instantiated from DT as "spidev"



Since spidev is a detail of how Linux controls a device rather than a
description of the hardware in the system we should never have a node
described as "spidev" in DT, any SPI device could be a spidev so this
is just not a useful description.

In order to help prevent users from writing such device trees generate a
warning if spidev is instantiated as a DT node without an ID in the match
table.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f20fbaad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment