diff mbox series

PM / devfreq: remove unneeded semicolon

Message ID 1612248924-54419-1-git-send-email-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Delegated to: Chanwoo Choi
Headers show
Series PM / devfreq: remove unneeded semicolon | expand

Commit Message

Yang Li Feb. 2, 2021, 6:55 a.m. UTC
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(-)

Comments

Chanwoo Choi Feb. 2, 2021, 7:18 a.m. UTC | #1
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
diff mbox series

Patch

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,