spi: s3c64xx: Allow controller-data to be optional
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 24 Jan 2022 08:23:47 +0000 (09:23 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 7 Mar 2022 12:55:36 +0000 (12:55 +0000)
commit7db7a24657c969291921d6580d62748b1320dd2f
tree36897e114628798cbbf2f90164e32bfbc730842c
parent96f06006a3505287b37ba19d4e50e504ac5b6a50
spi: s3c64xx: Allow controller-data to be optional

The Samsung SoC SPI driver requires to provide controller-data node
for each of SPI peripheral device nodes.  Make this controller-data node
optional, so DTS could be simpler.

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Andi Shyti <andi@etezian.org>
Reviwed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220124082347.32747-5-krzysztof.kozlowski@canonical.com
drivers/spi/spi-s3c64xx.c