Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227042 > unrolled thread

[PATCH] clk: Remove unneeded semicolons

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-09-17 15:50 +0200
Last post2015-09-17 20:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] clk: Remove unneeded semicolons Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-17 15:50 +0200
    Re: [PATCH] clk: Remove unneeded semicolons Leo Yan <leo.yan@linaro.org> - 2015-09-17 16:50 +0200
    Re: [PATCH] clk: Remove unneeded semicolons Stephen Boyd <sboyd@codeaurora.org> - 2015-09-17 20:20 +0200

#1227042 — [PATCH] clk: Remove unneeded semicolons

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-17 15:50 +0200
Subject[PATCH] clk: Remove unneeded semicolons
Message-ID<q9HJv-5ch-5@gated-at.bofh.it>
There are cleary typo errors so can be removed.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/clk/clk.c                       | 2 +-
 drivers/clk/hisilicon/clk-hi6220-stub.c | 2 +-
 drivers/clk/mvebu/common.c              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 43e2c3ad6c31..a66a6d433b1f 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1685,7 +1685,7 @@ static struct clk_core *__clk_init_parent(struct clk_core *core)
 			"%s: multi-parent clocks must implement .get_parent\n",
 			__func__);
 		goto out;
-	};
+	}
 
 	/*
 	 * Do our best to cache parent clocks in core->parents.  This prevents
diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c b/drivers/clk/hisilicon/clk-hi6220-stub.c
index 2c4add11c1ca..8afb40ef40ce 100644
--- a/drivers/clk/hisilicon/clk-hi6220-stub.c
+++ b/drivers/clk/hisilicon/clk-hi6220-stub.c
@@ -230,7 +230,7 @@ static int hi6220_stub_clk_probe(struct platform_device *pdev)
 	if (IS_ERR(stub_clk->mbox)) {
 		dev_err(dev, "failed get mailbox channel\n");
 		return PTR_ERR(stub_clk->mbox);
-	};
+	}
 
 	init.name = "acpu0";
 	init.ops = &hi6220_stub_clk_ops;
diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
index 4a22429cd7a2..28aac67e7b92 100644
--- a/drivers/clk/mvebu/common.c
+++ b/drivers/clk/mvebu/common.c
@@ -165,7 +165,7 @@ void __init mvebu_coreclk_setup(struct device_node *np,
 		clk_data.clks[2+n] = clk_register_fixed_factor(NULL, rclk_name,
 				       cpuclk_name, 0, mult, div);
 		WARN_ON(IS_ERR(clk_data.clks[2+n]));
-	};
+	}
 
 	/* Register optional refclk */
 	if (desc->get_refclk_freq) {
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1227083

FromLeo Yan <leo.yan@linaro.org>
Date2015-09-17 16:50 +0200
Message-ID<q9IFB-6Co-27@gated-at.bofh.it>
In reply to#1227042
On Thu, Sep 17, 2015 at 03:49:29PM +0200, Javier Martinez Canillas wrote:
> There are cleary typo errors so can be removed.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  drivers/clk/clk.c                       | 2 +-
>  drivers/clk/hisilicon/clk-hi6220-stub.c | 2 +-
>  drivers/clk/mvebu/common.c              | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 43e2c3ad6c31..a66a6d433b1f 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1685,7 +1685,7 @@ static struct clk_core *__clk_init_parent(struct clk_core *core)
>  			"%s: multi-parent clocks must implement .get_parent\n",
>  			__func__);
>  		goto out;
> -	};
> +	}
>  
>  	/*
>  	 * Do our best to cache parent clocks in core->parents.  This prevents
> diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c b/drivers/clk/hisilicon/clk-hi6220-stub.c
> index 2c4add11c1ca..8afb40ef40ce 100644
> --- a/drivers/clk/hisilicon/clk-hi6220-stub.c
> +++ b/drivers/clk/hisilicon/clk-hi6220-stub.c
> @@ -230,7 +230,7 @@ static int hi6220_stub_clk_probe(struct platform_device *pdev)
>  	if (IS_ERR(stub_clk->mbox)) {
>  		dev_err(dev, "failed get mailbox channel\n");
>  		return PTR_ERR(stub_clk->mbox);
> -	};
> +	}

Acked-by: Leo Yan <leo.yan@linaro.org>

Thanks,
Leo Yan

>  
>  	init.name = "acpu0";
>  	init.ops = &hi6220_stub_clk_ops;
> diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
> index 4a22429cd7a2..28aac67e7b92 100644
> --- a/drivers/clk/mvebu/common.c
> +++ b/drivers/clk/mvebu/common.c
> @@ -165,7 +165,7 @@ void __init mvebu_coreclk_setup(struct device_node *np,
>  		clk_data.clks[2+n] = clk_register_fixed_factor(NULL, rclk_name,
>  				       cpuclk_name, 0, mult, div);
>  		WARN_ON(IS_ERR(clk_data.clks[2+n]));
> -	};
> +	}
>  
>  	/* Register optional refclk */
>  	if (desc->get_refclk_freq) {
> -- 
> 2.4.3
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1227279

FromStephen Boyd <sboyd@codeaurora.org>
Date2015-09-17 20:20 +0200
Message-ID<q9LWO-38s-13@gated-at.bofh.it>
In reply to#1227042
On 09/17, Javier Martinez Canillas wrote:
> There are cleary typo errors so can be removed.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web