summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c/mach-crag6410.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-01-19 02:09:14 +0300
committerMark Brown <broonie@kernel.org>2022-01-24 16:37:32 +0300
commit3b5529ae7f3578da633e8ae2ec0715a55a248f9f (patch)
treee3b334b415e1cf769e015c7241e3f9f17b079883 /arch/arm/mach-s3c/mach-crag6410.c
parentf1ba938e4f98941dc2b77795062e49444ec1fee1 (diff)
downloadlinux-3b5529ae7f3578da633e8ae2ec0715a55a248f9f.tar.xz
spi: s3c64xx: Drop custom gpio setup argument
The SPI0 platform population function was taking a custom gpio setup callback but the only user pass NULL as argument so drop this argument. Cc: linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Cc: Sylwester Nawrocki <snawrocki@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20220118230915.157797-2-linus.walleij@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c/mach-crag6410.c')
-rw-r--r--arch/arm/mach-s3c/mach-crag6410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c/mach-crag6410.c b/arch/arm/mach-s3c/mach-crag6410.c
index 4a12c75d407f..41f0aba2d2fd 100644
--- a/arch/arm/mach-s3c/mach-crag6410.c
+++ b/arch/arm/mach-s3c/mach-crag6410.c
@@ -856,7 +856,7 @@ static void __init crag6410_machine_init(void)
i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
samsung_keypad_set_platdata(&crag6410_keypad_data);
- s3c64xx_spi0_set_platdata(NULL, 0, 2);
+ s3c64xx_spi0_set_platdata(0, 2);
pwm_add_table(crag6410_pwm_lookup, ARRAY_SIZE(crag6410_pwm_lookup));
platform_add_devices(crag6410_devices, ARRAY_SIZE(crag6410_devices));