summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/setup-usb-phy.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-10-23 17:38:24 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2019-10-28 17:46:58 +0100
commit603bba8d0e055631c678802c644d3120e6959790 (patch)
treeaeb6d7aefd7e115bb7eb0bd7025415532173dfdf /arch/arm/mach-s3c64xx/setup-usb-phy.c
parente966fedeabe1ac3a3ee0a30f6b1afda269bba0a8 (diff)
ARM: s3c: Rename s5p_usb_phy functions
The name s5p_usb_phy_init() suggests it is shared with S5Pv210 platform, but it is not. It is specific to S3C64xx, so make it clear in the name. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/setup-usb-phy.c')
-rw-r--r--arch/arm/mach-s3c64xx/setup-usb-phy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/setup-usb-phy.c b/arch/arm/mach-s3c64xx/setup-usb-phy.c
index 6aaaa1d8e8b9..d6b0e3b268af 100644
--- a/arch/arm/mach-s3c64xx/setup-usb-phy.c
+++ b/arch/arm/mach-s3c64xx/setup-usb-phy.c
@@ -73,7 +73,7 @@ static int s3c_usb_otgphy_exit(struct platform_device *pdev)
return 0;
}
-int s5p_usb_phy_init(struct platform_device *pdev, int type)
+int s3c_usb_phy_init(struct platform_device *pdev, int type)
{
if (type == USB_PHY_TYPE_DEVICE)
return s3c_usb_otgphy_init(pdev);
@@ -81,7 +81,7 @@ int s5p_usb_phy_init(struct platform_device *pdev, int type)
return -EINVAL;
}
-int s5p_usb_phy_exit(struct platform_device *pdev, int type)
+int s3c_usb_phy_exit(struct platform_device *pdev, int type)
{
if (type == USB_PHY_TYPE_DEVICE)
return s3c_usb_otgphy_exit(pdev);