Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] PM / devfreq: remove unneeded semicolon
@ 2021-02-02  6:55 ` Yang Li
  2021-02-02  7:18   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-02-02  6:55 UTC (permalink / raw)
  To: myungjoo.ham; +Cc: kyungmin.park, cw00.choi, linux-pm, linux-kernel, Yang Li

Eliminate the following coccicheck warning:
./drivers/devfreq/rk3399_dmc.c:403:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/devfreq/rk3399_dmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
index 2e91216..9e9d3b4c 100644
--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -400,7 +400,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
 	default:
 		ret = -EINVAL;
 		goto err_edev;
-	};
+	}
 
 no_pmu:
 	arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, 0, 0,
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PM / devfreq: remove unneeded semicolon
  2021-02-02  6:55 ` [PATCH] PM / devfreq: remove unneeded semicolon Yang Li
@ 2021-02-02  7:18   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2021-02-02  7:18 UTC (permalink / raw)
  To: Yang Li, myungjoo.ham; +Cc: kyungmin.park, linux-pm, linux-kernel

On 2/2/21 3:55 PM, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/devfreq/rk3399_dmc.c:403:2-3: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/devfreq/rk3399_dmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
> index 2e91216..9e9d3b4c 100644
> --- a/drivers/devfreq/rk3399_dmc.c
> +++ b/drivers/devfreq/rk3399_dmc.c
> @@ -400,7 +400,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
>  	default:
>  		ret = -EINVAL;
>  		goto err_edev;
> -	};
> +	}
>  
>  no_pmu:
>  	arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, 0, 0,
> 

Applied it. I changed the patch title as following:
- PM / devfreq: rk3399_dmc: Remove unneeded semicolon

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-02  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20210202065527epcas1p3b6d20061d7f080ce9fe9269b86e9dfcb@epcas1p3.samsung.com>
2021-02-02  6:55 ` [PATCH] PM / devfreq: remove unneeded semicolon Yang Li
2021-02-02  7:18   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox