From: Krzysztof Kozlowski <k.kozlowski@samsung.com> To: Ralf Baechle <ralf@linux-mips.org>, Max Filippov <jcmvbkbc@gmail.com>, Mike Turquette <mturquette@linaro.org>, Stephen Boyd <sboyd@codeaurora.org>, Heiko Stuebner <heiko@sntech.de>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Tomasz Figa <tomasz.figa@gmail.com>, Kukjin Kim <kgene@kernel.org>, Barry Song <baohua@kernel.org>, Peter De Schrijver <pdeschrijver@nvidia.com>, Prashant Gaikwad <pgaikwad@nvidia.com>, Stephen Warren <swarren@wwwdotorg.org>, Thierry Reding <thierry.reding@gmail.com>, Alexandre Courbot <gnurou@gmail.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Cc: Chanwoo Choi <cw00.choi@samsung.com>, Inki Dae <inki.dae@samsung.com>, Krzysztof Kozlowski <k.kozlowski@samsung.com> Subject: [PATCH v2 8/8] MIPS: Alchemy: Remove unneeded cast removing const Date: Tue, 28 Apr 2015 13:46:23 +0900 [thread overview] Message-ID: <1430196383-9190-9-git-send-email-k.kozlowski@samsung.com> (raw) In-Reply-To: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> Parent names in clock init data is now array of const pointers to const strings so the cast is not needed. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> --- arch/mips/alchemy/common/clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c index 6a98d2cb402c..6e46abe0dac6 100644 --- a/arch/mips/alchemy/common/clock.c +++ b/arch/mips/alchemy/common/clock.c @@ -752,12 +752,12 @@ static int __init alchemy_clk_init_fgens(int ctype) switch (ctype) { case ALCHEMY_CPU_AU1000...ALCHEMY_CPU_AU1200: id.ops = &alchemy_clkops_fgenv1; - id.parent_names = (const char **)alchemy_clk_fgv1_parents; + id.parent_names = alchemy_clk_fgv1_parents; id.num_parents = 2; break; case ALCHEMY_CPU_AU1300: id.ops = &alchemy_clkops_fgenv2; - id.parent_names = (const char **)alchemy_clk_fgv2_parents; + id.parent_names = alchemy_clk_fgv2_parents; id.num_parents = 3; break; default: @@ -961,7 +961,7 @@ static int __init alchemy_clk_setup_imux(int ctype) struct clk *c; id.ops = &alchemy_clkops_csrc; - id.parent_names = (const char **)alchemy_clk_csrc_parents; + id.parent_names = alchemy_clk_csrc_parents; id.num_parents = 7; id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE; -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: k.kozlowski@samsung.com (Krzysztof Kozlowski) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 8/8] MIPS: Alchemy: Remove unneeded cast removing const Date: Tue, 28 Apr 2015 13:46:23 +0900 [thread overview] Message-ID: <1430196383-9190-9-git-send-email-k.kozlowski@samsung.com> (raw) In-Reply-To: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> Parent names in clock init data is now array of const pointers to const strings so the cast is not needed. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> --- arch/mips/alchemy/common/clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c index 6a98d2cb402c..6e46abe0dac6 100644 --- a/arch/mips/alchemy/common/clock.c +++ b/arch/mips/alchemy/common/clock.c @@ -752,12 +752,12 @@ static int __init alchemy_clk_init_fgens(int ctype) switch (ctype) { case ALCHEMY_CPU_AU1000...ALCHEMY_CPU_AU1200: id.ops = &alchemy_clkops_fgenv1; - id.parent_names = (const char **)alchemy_clk_fgv1_parents; + id.parent_names = alchemy_clk_fgv1_parents; id.num_parents = 2; break; case ALCHEMY_CPU_AU1300: id.ops = &alchemy_clkops_fgenv2; - id.parent_names = (const char **)alchemy_clk_fgv2_parents; + id.parent_names = alchemy_clk_fgv2_parents; id.num_parents = 3; break; default: @@ -961,7 +961,7 @@ static int __init alchemy_clk_setup_imux(int ctype) struct clk *c; id.ops = &alchemy_clkops_csrc; - id.parent_names = (const char **)alchemy_clk_csrc_parents; + id.parent_names = alchemy_clk_csrc_parents; id.num_parents = 7; id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE; -- 1.9.1
next prev parent reply other threads:[~2015-04-28 4:46 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-04-28 4:46 [PATCH v2 0/8] clk: Minor cleanups Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 1/8] clk: rockchip: Staticize file-scope declarations Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 2/8] clk: exynos: " Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 3/8] clk: tegra: Fix inconsistent indenting Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski [not found] ` <1430196383-9190-4-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2015-05-01 18:46 ` Stephen Boyd 2015-05-01 18:46 ` Stephen Boyd 2015-05-01 18:46 ` Stephen Boyd [not found] ` <20150501184655.GA29653-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> 2015-05-04 1:47 ` Krzysztof Kozlowski 2015-05-04 1:47 ` Krzysztof Kozlowski 2015-05-04 1:47 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 4/8] clk: tegra: Fix duplicate const for parent names Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 5/8] clk: cdce706: Constify parent names in clock init data Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 6/8] clk: sirf: " Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` [PATCH v2 7/8] clk: ls1x: Fix duplicate const for parent names Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski 2015-04-28 4:46 ` Krzysztof Kozlowski [this message] 2015-04-28 4:46 ` [PATCH v2 8/8] MIPS: Alchemy: Remove unneeded cast removing const Krzysztof Kozlowski 2015-05-01 18:51 ` Stephen Boyd 2015-05-01 18:51 ` Stephen Boyd [not found] ` <1430196383-9190-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2015-05-06 5:56 ` [PATCH v2 0/8] clk: Minor cleanups Stephen Boyd 2015-05-06 5:56 ` Stephen Boyd 2015-05-06 5:56 ` Stephen Boyd 2015-05-06 11:33 ` Thierry Reding 2015-05-06 11:33 ` Thierry Reding 2015-05-06 11:33 ` Thierry Reding
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1430196383-9190-9-git-send-email-k.kozlowski@samsung.com \ --to=k.kozlowski@samsung.com \ --cc=baohua@kernel.org \ --cc=cw00.choi@samsung.com \ --cc=gnurou@gmail.com \ --cc=heiko@sntech.de \ --cc=inki.dae@samsung.com \ --cc=jcmvbkbc@gmail.com \ --cc=kgene@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mips@linux-mips.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux-tegra@vger.kernel.org \ --cc=mturquette@linaro.org \ --cc=pdeschrijver@nvidia.com \ --cc=pgaikwad@nvidia.com \ --cc=ralf@linux-mips.org \ --cc=s.nawrocki@samsung.com \ --cc=sboyd@codeaurora.org \ --cc=swarren@wwwdotorg.org \ --cc=thierry.reding@gmail.com \ --cc=tomasz.figa@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.