From: Mark Brown Date: Fri, 27 Mar 2015 23:36:04 +0000 (-0700) Subject: spi: spidev: Warn loudly if instantiated from DT as "spidev" X-Git-Tag: omap-for-v4.1/fixes-rc1~176^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956b200a846e324322f6211034c734c65a38e550;p=pandora-kernel.git 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 --- Reading git-diff-tree failed