spi: s3c64xx: simplify getting of_device_id match data
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 14 Apr 2021 20:33:41 +0000 (22:33 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 15 Apr 2021 15:07:56 +0000 (16:07 +0100)
commit609a2f9529d3d3e627776614b6cff34b21f64144
treee0ccefdc9a771329796ddc39620be2771c6e0b02
parent089cde07977cccbc6a0729485a9bee04fb86c9ea
spi: s3c64xx: simplify getting of_device_id match data

Use of_device_get_match_data() to make the code slightly smaller and to
remove the of_device_id table forward declaration.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org>
Link: https://lore.kernel.org/r/20210414203343.203119-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c