diff mbox series

[-next] usb: phy: convert comma to semicolon

Message ID 20201211085428.2871-1-zhengyongjun3@huawei.com
State New
Headers show
Series [-next] usb: phy: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 11, 2020, 8:54 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/usb/phy/phy-isp1301-omap.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Peter Chen Dec. 15, 2020, 5:25 a.m. UTC | #1
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
diff mbox series

Patch

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);