2022-06-27 02:07:29

by Li kunyu

[permalink] [raw]
Subject: [PATCH] drivers: the return value statement of the gcc_sm6350_probe function has an extra semicolon

I think this semicolon could be deleted.

Signed-off-by: Li kunyu <[email protected]>
---
drivers/clk/qcom/gcc-sm6350.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/gcc-sm6350.c b/drivers/clk/qcom/gcc-sm6350.c
index a4f7fba70393..69412400efa4 100644
--- a/drivers/clk/qcom/gcc-sm6350.c
+++ b/drivers/clk/qcom/gcc-sm6350.c
@@ -2558,7 +2558,7 @@ static int gcc_sm6350_probe(struct platform_device *pdev)
if (ret)
return ret;

- return qcom_cc_really_probe(pdev, &gcc_sm6350_desc, regmap);;
+ return qcom_cc_really_probe(pdev, &gcc_sm6350_desc, regmap);
}

static struct platform_driver gcc_sm6350_driver = {
--
2.18.2


2022-06-27 20:46:38

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] drivers: the return value statement of the gcc_sm6350_probe function has an extra semicolon

On Sun 26 Jun 21:05 CDT 2022, Li kunyu wrote:

> I think this semicolon could be deleted.
>

Thank you for the patch Li.

Please look at the git log for suggestions about the prefix for your
commit subject (clk: qcom: gcc-sm6350: in this case).

I've updated the commit message and picked up the patch.

Regards,
Bjorn

> Signed-off-by: Li kunyu <[email protected]>
> ---
> drivers/clk/qcom/gcc-sm6350.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/qcom/gcc-sm6350.c b/drivers/clk/qcom/gcc-sm6350.c
> index a4f7fba70393..69412400efa4 100644
> --- a/drivers/clk/qcom/gcc-sm6350.c
> +++ b/drivers/clk/qcom/gcc-sm6350.c
> @@ -2558,7 +2558,7 @@ static int gcc_sm6350_probe(struct platform_device *pdev)
> if (ret)
> return ret;
>
> - return qcom_cc_really_probe(pdev, &gcc_sm6350_desc, regmap);;
> + return qcom_cc_really_probe(pdev, &gcc_sm6350_desc, regmap);
> }
>
> static struct platform_driver gcc_sm6350_driver = {
> --
> 2.18.2
>

2022-06-28 20:24:24

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH] drivers: the return value statement of the gcc_sm6350_probe function has an extra semicolon

On Mon, 27 Jun 2022 10:05:00 +0800, Li kunyu wrote:
> I think this semicolon could be deleted.
>
>

Applied, thanks!

[1/1] drivers: the return value statement of the gcc_sm6350_probe function has an extra semicolon
commit: 255a47e745674dbbda9250ae0ad1f78a49179988

Best regards,
--
Bjorn Andersson <[email protected]>