]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit200d925e236f1a839bd52680f13649b23f727d51
treedaa2a8a21b3e8c29705ede31bc66ec2c5dfe918b
parent3f994c25868729fb63a4eef42a7040e563eff365
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