lkml.org 
[lkml]   [2020]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] usb: phy: convert comma to semicolon
Date
On 20-12-11 16:54:28, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

Reviewed-by: Peter Chen <peter.chen@nxp.com>

Peter
> ---
> drivers/usb/phy/phy-isp1301-omap.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c
> index 4a6462c92ef2..6f4f74e6ba51 100644
> --- a/drivers/usb/phy/phy-isp1301-omap.c
> +++ b/drivers/usb/phy/phy-isp1301-omap.c
> @@ -1566,13 +1566,13 @@ isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
>
> isp->phy.dev = &i2c->dev;
> isp->phy.label = DRIVER_NAME;
> - isp->phy.set_power = isp1301_set_power,
> + isp->phy.set_power = isp1301_set_power;
>
> isp->phy.otg->usb_phy = &isp->phy;
> - isp->phy.otg->set_host = isp1301_set_host,
> - isp->phy.otg->set_peripheral = isp1301_set_peripheral,
> - isp->phy.otg->start_srp = isp1301_start_srp,
> - isp->phy.otg->start_hnp = isp1301_start_hnp,
> + isp->phy.otg->set_host = isp1301_set_host;
> + isp->phy.otg->set_peripheral = isp1301_set_peripheral;
> + isp->phy.otg->start_srp = isp1301_start_srp;
> + isp->phy.otg->start_hnp = isp1301_start_hnp;
>
> enable_vbus_draw(isp, 0);
> power_down(isp);
> --
> 2.22.0
>

--

Thanks,
Peter Chen
\
 
 \ /
  Last update: 2020-12-15 06:29    [W:0.033 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site