]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
USB: PHY: JZ4770: Remove unnecessary function calls.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Mon, 16 Nov 2020 14:19:04 +0000 (22:19 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 5 Dec 2020 08:09:30 +0000 (13:39 +0530)
Remove unnecessary "of_match_ptr()", because Ingenic SoCs all
depend on Device Tree.

Suggested-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20201116141906.11758-2-zhouyanjie@wanyeetech.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/usb/phy/phy-jz4770.c

index f6d3731581ebdeac4a53c2a1f5b611115896ff32..4025da20b3fdbbe30ce029dc45e09d699bd2c77f 100644 (file)
@@ -350,7 +350,7 @@ static struct platform_driver ingenic_phy_driver = {
        .probe          = jz4770_phy_probe,
        .driver         = {
                .name   = "jz4770-phy",
-               .of_match_table = of_match_ptr(ingenic_usb_phy_of_matches),
+               .of_match_table = ingenic_usb_phy_of_matches,
        },
 };
 module_platform_driver(ingenic_phy_driver);