lkml.org 
[lkml]   [2020]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/2] USB: PHY: JZ4770: Remove unnecessary function calls.


Le sam. 19 sept. 2020 à 16:42, 周琰杰 (Zhou Yanjie)
<zhouyanjie@wanyeetech.com> a écrit :
> 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>

Cheers,
-Paul

> ---
>
> Notes:
> v3:
> New patch.
>
> v3->v4:
> No change.
>
> drivers/usb/phy/phy-jz4770.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);
> --
> 2.11.0
>


\
 
 \ /
  Last update: 2020-09-21 14:15    [W:0.130 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site