summaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorMark Brown2015-03-28 00:36:04 +0100
committerMark Brown2015-03-28 00:43:03 +0100
commit956b200a846e324322f6211034c734c65a38e550 (patch)
tree42f7f8884b88991736c0ce3a09a3f3381d7a8a82 /Documentation/spi
parentspi: spidev: fix possible arithmetic overflow for multi-transfer message (diff)
downloadkernel-qcow2-linux-956b200a846e324322f6211034c734c65a38e550.tar.gz
kernel-qcow2-linux-956b200a846e324322f6211034c734c65a38e550.tar.xz
kernel-qcow2-linux-956b200a846e324322f6211034c734c65a38e550.zip
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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/spi')
0 files changed, 0 insertions, 0 deletions