OSDN Git Service

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)
committerMark Brown <broonie@kernel.org>
Wed, 16 Mar 2022 16:39:36 +0000 (16:39 +0000)
commitc9839acfcbe20ce43d363c2a9d0772472d9921c0
treed915885ccd77854b06835e86f6635b7175b32004
parent62cb1cfed62bd50b638b016a6396624de2a43159
spi: tegra20: Use of_device_get_match_data()

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>
drivers/spi/spi-tegra20-slink.c