spi: imx: Use of_device_get_match_data() helper

Use the of_device_get_match_data() helper instead of open coding.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1616385476-53327-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Tian Tao 2021-03-22 11:57:56 +08:00 • committed by Mark Brown
commit 200d925e23
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0