From: 周琰杰 (Zhou Yanjie) Date: Mon, 16 Nov 2020 14:19:04 +0000 (+0800) Subject: USB: PHY: JZ4770: Remove unnecessary function calls. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=85e6225f401f95478ad52d77a6834a6ee1db8c32;p=uclinux-h8%2Flinux.git USB: PHY: JZ4770: Remove unnecessary function calls. Remove unnecessary "of_match_ptr()", because Ingenic SoCs all depend on Device Tree. Suggested-by: Paul Cercueil Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil Link: https://lore.kernel.org/r/20201116141906.11758-2-zhouyanjie@wanyeetech.com Signed-off-by: Vinod Koul --- diff --git a/drivers/usb/phy/phy-jz4770.c b/drivers/usb/phy/phy-jz4770.c index f6d3731581eb..4025da20b3fd 100644 --- a/drivers/usb/phy/phy-jz4770.c +++ b/drivers/usb/phy/phy-jz4770.c @@ -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);