]> git.baikalelectronics.ru Git - kernel.git/commit
spi: imx: Use of_device_get_match_data() helper
authorTian Tao <tiantao6@hisilicon.com>
Mon, 22 Mar 2021 03:57:56 +0000 (11:57 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 25 Mar 2021 13:58:55 +0000 (13:58 +0000)
commite4785c94b846a50d03e5adca8f1cedae3056def0
treedaa2a8a21b3e8c29705ede31bc66ec2c5dfe918b
parent1d52805594a5d2f038e8c7cc00671f1e8c4d1501
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>
drivers/spi/spi-imx.c