diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-01-19 02:09:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-24 16:37:31 +0300 |
commit | f1ba938e4f98941dc2b77795062e49444ec1fee1 (patch) | |
tree | 0b0d90515781aa60dc608f551446f9d5624c0b06 /arch/arm/mach-s3c/setup-spi-s3c64xx.c | |
parent | 66fda8bdc323860a3b5c8fe86f64d25c5c19b450 (diff) | |
download | linux-f1ba938e4f98941dc2b77795062e49444ec1fee1.tar.xz |
spi: s3c64xx: Delete unused boardfile helpers
The helpers to use SPI host 1 and 2 are unused in the kernel
and taking up space and maintenance hours. New systems should
use device tree and not this, so delete the code.
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: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220118230915.157797-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c/setup-spi-s3c64xx.c')
-rw-r--r-- | arch/arm/mach-s3c/setup-spi-s3c64xx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-s3c/setup-spi-s3c64xx.c b/arch/arm/mach-s3c/setup-spi-s3c64xx.c index efcf78d41585..497aff71c29c 100644 --- a/arch/arm/mach-s3c/setup-spi-s3c64xx.c +++ b/arch/arm/mach-s3c/setup-spi-s3c64xx.c @@ -16,12 +16,3 @@ int s3c64xx_spi0_cfg_gpio(void) return 0; } #endif - -#ifdef CONFIG_S3C64XX_DEV_SPI1 -int s3c64xx_spi1_cfg_gpio(void) -{ - s3c_gpio_cfgall_range(S3C64XX_GPC(4), 3, - S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP); - return 0; -} -#endif |