* [PATCH] clk: Remove unneeded semicolons
@ 2015-09-17 13:49 Javier Martinez Canillas
2015-09-17 14:49 ` Leo Yan
2015-09-17 18:15 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2015-09-17 13:49 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Michael Turquette, Gregory CLEMENT,
Stephen Boyd, Jason Cooper, Thomas Petazzoni, linux-clk, Leo Yan
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: Remove unneeded semicolons
2015-09-17 13:49 [PATCH] clk: Remove unneeded semicolons Javier Martinez Canillas
@ 2015-09-17 14:49 ` Leo Yan
2015-09-17 18:15 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Leo Yan @ 2015-09-17 14:49 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, Michael Turquette, Gregory CLEMENT, Stephen Boyd,
Jason Cooper, Thomas Petazzoni, linux-clk
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: Remove unneeded semicolons
2015-09-17 13:49 [PATCH] clk: Remove unneeded semicolons Javier Martinez Canillas
2015-09-17 14:49 ` Leo Yan
@ 2015-09-17 18:15 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2015-09-17 18:15 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, Michael Turquette, Gregory CLEMENT, Jason Cooper,
Thomas Petazzoni, linux-clk, Leo Yan
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-17 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17 13:49 [PATCH] clk: Remove unneeded semicolons Javier Martinez Canillas
2015-09-17 14:49 ` Leo Yan
2015-09-17 18:15 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).