usb: host: exynos: Remove support for Exynos5440
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Apr 2018 20:11:49 +0000 (22:11 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Jul 2018 16:44:00 +0000 (18:44 +0200)
The Exynos5440 is not actively developed, there are no development
boards available and probably there are no real products with it.
Remove wide-tree support for Exynos5440.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ohci-exynos.c

index d9145a8f35d2e5515ee8f16ef9d7b5d237158ca8..8e3bab1e0c1f693394c849528b6eb9e2d01a3c26 100644 (file)
@@ -161,16 +161,10 @@ static int exynos_ehci_probe(struct platform_device *pdev)
        }
        exynos_ehci = to_exynos_ehci(hcd);
 
-       if (of_device_is_compatible(pdev->dev.of_node,
-                                       "samsung,exynos5440-ehci"))
-               goto skip_phy;
-
        err = exynos_ehci_get_phy(&pdev->dev, exynos_ehci);
        if (err)
                goto fail_clk;
 
-skip_phy:
-
        exynos_ehci->clk = devm_clk_get(&pdev->dev, "usbhost");
 
        if (IS_ERR(exynos_ehci->clk)) {
@@ -304,7 +298,6 @@ static const struct dev_pm_ops exynos_ehci_pm_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ehci_match[] = {
        { .compatible = "samsung,exynos4210-ehci" },
-       { .compatible = "samsung,exynos5440-ehci" },
        {},
 };
 MODULE_DEVICE_TABLE(of, exynos_ehci_match);
index a39fae41bc70015eaacfeb28002bf3cc1088afec..c0c4dcca6f3cbb12a607325b4ef8773704ce6ff3 100644 (file)
@@ -130,15 +130,10 @@ static int exynos_ohci_probe(struct platform_device *pdev)
 
        exynos_ohci = to_exynos_ohci(hcd);
 
-       if (of_device_is_compatible(pdev->dev.of_node,
-                                       "samsung,exynos5440-ohci"))
-               goto skip_phy;
-
        err = exynos_ohci_get_phy(&pdev->dev, exynos_ohci);
        if (err)
                goto fail_clk;
 
-skip_phy:
        exynos_ohci->clk = devm_clk_get(&pdev->dev, "usbhost");
 
        if (IS_ERR(exynos_ohci->clk)) {
@@ -270,7 +265,6 @@ static const struct dev_pm_ops exynos_ohci_pm_ops = {
 #ifdef CONFIG_OF
 static const struct of_device_id exynos_ohci_match[] = {
        { .compatible = "samsung,exynos4210-ohci" },
-       { .compatible = "samsung,exynos5440-ohci" },
        {},
 };
 MODULE_DEVICE_TABLE(of, exynos_ohci_match);