spi: orion: Use device_get_match_data() helper
authorTian Tao <tiantao6@hisilicon.com>
Thu, 1 Apr 2021 06:24:48 +0000 (14:24 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 7 Apr 2021 15:58:35 +0000 (16:58 +0100)
commit0e6521f13c297de32906ad7f691905803b2b2880
tree5e5cbf646b08dd5469049801aa8a931614326b62
parent9a446cf97af70ee81ba177703b67ac4955a5edcc
spi: orion: Use device_get_match_data() helper

Use the device_get_match_data() helper instead of open coding.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1617258288-1490-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-orion.c