mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: 周琰杰 <zhouyanjie@wanyeetech.com>
Cc: balbi@kernel.org, gregkh@linuxfoundation.org, kishon@ti.com,
	vkoul@kernel.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, christophe.jaillet@wanadoo.fr,
	dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com,
	rick.tyliu@ingenic.com, yanfei.li@ingenic.com,
	sernia.zhou@foxmail.com, zhenwenjin@gmail.com
Subject: Re: [PATCH v4 1/2] USB: PHY: JZ4770: Remove unnecessary function calls.
Date: Mon, 21 Sep 2020 14:15:23 +0200	[thread overview]
Message-ID: <NPC0HQ.G7SR799C7LIL3@crapouillou.net> (raw)
In-Reply-To: <20200919084225.112072-2-zhouyanjie@wanyeetech.com>



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
> 



  reply	other threads:[~2020-09-21 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19  8:42 [PATCH v4 0/2] Use the generic PHY framework for Ingenic USB PHY 周琰杰 (Zhou Yanjie)
2020-09-19  8:42 ` [PATCH v4 1/2] USB: PHY: JZ4770: Remove unnecessary function calls 周琰杰 (Zhou Yanjie)
2020-09-21 12:15   ` Paul Cercueil [this message]
2020-09-19  8:42 ` [PATCH v4 2/2] PHY: Ingenic: Add USB PHY driver using generic PHY framework 周琰杰 (Zhou Yanjie)
2020-09-21 12:14   ` Paul Cercueil
2020-09-21 15:27     ` Zhou Yanjie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NPC0HQ.G7SR799C7LIL3@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=aric.pzqi@ingenic.com \
    --cc=balbi@kernel.org \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=dongsheng.qiu@ingenic.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rick.tyliu@ingenic.com \
    --cc=sernia.zhou@foxmail.com \
    --cc=vkoul@kernel.org \
    --cc=yanfei.li@ingenic.com \
    --cc=zhenwenjin@gmail.com \
    --cc=zhouyanjie@wanyeetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®