Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi/tegra: Use engineering names in DT compatible property

Engineering names are more stable than marketing names. Hence, use them
for Device Tree compatible properties instead.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

authored by

Stephen Warren and committed by
Grant Likely
22032c77 fb644095

+2 -2
+1 -1
Documentation/devicetree/bindings/spi/spi_nvidia.txt
··· 1 1 NVIDIA Tegra 2 SPI device 2 2 3 3 Required properties: 4 - - compatible : should be "nvidia,tegra250-spi". 4 + - compatible : should be "nvidia,tegra20-spi". 5 5 - gpios : should specify GPIOs used for chipselect.
+1 -1
drivers/spi/spi-tegra.c
··· 598 598 599 599 #ifdef CONFIG_OF 600 600 static struct of_device_id spi_tegra_of_match_table[] __devinitdata = { 601 - { .compatible = "nvidia,tegra250-spi", }, 601 + { .compatible = "nvidia,tegra20-spi", }, 602 602 {} 603 603 }; 604 604 MODULE_DEVICE_TABLE(of, spi_tegra_of_match_table);