From patchwork Wed Apr 8 13:22:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6179911 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0E6CD9F2E9 for ; Wed, 8 Apr 2015 13:28:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39D6E201EC for ; Wed, 8 Apr 2015 13:28:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3594420173 for ; Wed, 8 Apr 2015 13:28:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YfpzU-0007Cz-3F; Wed, 08 Apr 2015 13:26:00 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yfpwf-0003xE-DV; Wed, 08 Apr 2015 13:23:06 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NMH005SYPCCDP10@mailout2.w1.samsung.com>; Wed, 08 Apr 2015 14:26:36 +0100 (BST) X-AuditID: cbfec7f5-b7f1e6d00000617c-06-55252af18757 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id CF.B9.24956.1FA25255; Wed, 08 Apr 2015 14:19:45 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NMH008F3P5ED550@eusync2.samsung.com>; Wed, 08 Apr 2015 14:22:38 +0100 (BST) From: Krzysztof Kozlowski To: Ralf Baechle , Max Filippov , Mike Turquette , Stephen Boyd , Heiko Stuebner , Sylwester Nawrocki , Tomasz Figa , Kukjin Kim , Barry Song , Peter De Schrijver , Prashant Gaikwad , Stephen Warren , Thierry Reding , Alexandre Courbot , linux-clk@vger.kernel.org, linux-kernel@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 Subject: [PATCH 8/8] MIPS: Alchemy: Remove unneeded cast removing const Date: Wed, 08 Apr 2015 15:22:19 +0200 Message-id: <1428499339-29569-9-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1428499339-29569-1-git-send-email-k.kozlowski@samsung.com> References: <1428499339-29569-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsVy+t/xK7oftVRDDXa9EbB4cqiX2eLcq0cs Fv8fvWa1+PZwIaPF6xeGFv2PXzNbbHp8jdXiY889VovLu+awWXx68J/ZYsb5fUwWnV9msVk8 nXCRzWLS2qmMFjfnp1lc2qNicfhNO6vFjzPdLBavDraxWPzcNY/FYtWuP4wOoh6X+3qZPHbO usvusWlVJ5vHnWt72DyOrlzL5LF5Sb1Hb/M7No++LasYPbZfm8fs8XmTnMfGuaEB3FFcNimp OZllqUX6dglcGftWnGYpuMJV8WjzCtYGxu8cXYycHBICJhJTz9xhg7DFJC7cWw9kc3EICSxl lPjyYR4zhNPHJHHx/BxWkCo2AWOJzcuXgFWJCHxklXh68AMjSIJZwFDi57s/7F2MHBzCAu4S f7cKgIRZBFQlLrTPYgaxeYHCc/4fYYfYJidx8thksJmcAh4Ss5cfZwNpFQKqOXpUeQIj7wJG hlWMoqmlyQXFSem5RnrFibnFpXnpesn5uZsYITHxdQfj0mNWhxgFOBiVeHg9rqiECrEmlhVX 5h5ilOBgVhLh/a+sGirEm5JYWZValB9fVJqTWnyIkYmDU6qBsc3K9qG3sfPJxNlPPwodEY3W kj/8aNKPE9Vf33nuSvF8c7JQizf42uKFy9ayxr1Y+sTJa39MIWvOtN5wr0otteupOdM++PJu /3V9tVdbVIrAvMNLyqVC9+a1+57IvR982Njjg8PSqBxdTb/Dqsltuwt+N1yt32slONFqkrnQ NaGpH4JOTWpuUGIpzkg01GIuKk4EADMp4/BnAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150408_062305_672338_1495A19F X-CRM114-Status: UNSURE ( 7.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Krzysztof Kozlowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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;