aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/spi-core.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-10-23 17:38:23 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2019-10-28 17:46:57 +0100
commite966fedeabe1ac3a3ee0a30f6b1afda269bba0a8 (patch)
tree28882802396085bf8dca1d56ca3e8cfc6651974e /arch/arm/mach-s3c24xx/spi-core.h
parentLinux 5.4-rc1 (diff)
downloadlinux-dev-e966fedeabe1ac3a3ee0a30f6b1afda269bba0a8.tar.xz
linux-dev-e966fedeabe1ac3a3ee0a30f6b1afda269bba0a8.zip
ARM: s3c: Rename s3c64xx_spi_setname() function
The name s3c64xx_spi_setname() suggests it is shared with S3C64xx platform, but except of contents it is not. It is called only by S3C24xx code, so make it clear in the name. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/spi-core.h')
-rw-r--r--arch/arm/mach-s3c24xx/spi-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/spi-core.h b/arch/arm/mach-s3c24xx/spi-core.h
index bb555ccbe057..1048fac629a2 100644
--- a/arch/arm/mach-s3c24xx/spi-core.h
+++ b/arch/arm/mach-s3c24xx/spi-core.h
@@ -11,7 +11,7 @@
*/
/* re-define device name depending on support. */
-static inline void s3c64xx_spi_setname(char *name)
+static inline void s3c24xx_spi_setname(char *name)
{
#ifdef CONFIG_S3C64XX_DEV_SPI0
s3c64xx_device_spi0.name = name;