]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: tegra20: Use of_device_get_match_data()
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 15 Mar 2022 02:31:38 +0000 (02:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 12:14:54 +0000 (14:14 +0200)
commit369c3c01df199d81d938f3275f48309bdfdefb68
tree6d65912e3f950f8d2fe9ee151718cd164affcdee
parentbe8bc05f38d667eda1e820bc6f69234795be7809
spi: tegra20: Use of_device_get_match_data()

[ Upstream commit c9839acfcbe20ce43d363c2a9d0772472d9921c0 ]

Use of_device_get_match_data() to simplify the code.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220315023138.2118293-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-tegra20-slink.c