spi: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Thu, 3 Mar 2022 09:21:31 +0000 (09:21 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 3 Mar 2022 12:48:39 +0000 (12:48 +0000)
commitdc8fea13f98ace0ae8815dd44d1e60c184f3f930
tree7a4ce2abaae66881f5521215a60efc04590b1ba1
parent13262fc26c1837c51a5131dbbdd67a2387f8bfc7
spi: 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 (CGEL ZTE) <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220303092131.2060044-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-npcm-fiu.c