From patchwork Tue Apr 28 04:46:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6285521 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 41246BEEE5 for ; Tue, 28 Apr 2015 04:47:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FD1520306 for ; Tue, 28 Apr 2015 04:47:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73F5220376 for ; Tue, 28 Apr 2015 04:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932509AbbD1Erl (ORCPT ); Tue, 28 Apr 2015 00:47:41 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:64374 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932271AbbD1Er0 (ORCPT ); Tue, 28 Apr 2015 00:47:26 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNI00A8L2N06L60@mailout3.w1.samsung.com>; Tue, 28 Apr 2015 05:47:24 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-9c-553f10e06794 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 78.96.05269.0E01F355; Tue, 28 Apr 2015 05:47:28 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNI00A672LDPN10@eusync1.samsung.com>; Tue, 28 Apr 2015 05:47:24 +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-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 , Inki Dae , Krzysztof Kozlowski Subject: [PATCH v2 8/8] MIPS: Alchemy: Remove unneeded cast removing const Date: Tue, 28 Apr 2015 13:46:23 +0900 Message-id: <1430196383-9190-9-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> References: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42I5/e/4Zd0HAvahBhNW6lo8OdTLbHH9y3NW i3OvHrFY/H/0mtVi0v0JLBbfHi5ktHj9wtCi//FrZotNj6+xWnzsucdqcXnXHDaLCVMnsVt8 evCf2WLG+X1MFp1fZrFZPJ1wkc1i0tqpjBY356dZXNqjYnH4TTurxY8z3SwWrw62sVj83DWP xWLVrj+MDhIel/t6mTx2zrrL7rFpVSebx51re9g8jq5cy+SxeUm9R2/zOzaPvi2rGD22X5vH 7PF5k5zHxrmhAdxRXDYpqTmZZalF+nYJXBn7VpxmKbjCVfFo8wrWBsbvHF2MnBwSAiYST9Ys YIKwxSQu3FvP1sXIxSEksJRR4sbtJawQzn9GiZNdH9hAqtgEjCU2L18CViUi0MMmsfXpPWaQ BLNAlcS8tztYQWxhAS+JK5c/g8VZBFQl1u3uYAexeQXcJH73zmKHWCcncfLYZLB6TgF3if7m PiCbA2ibm0RnV/4ERt4FjAyrGEVTS5MLipPSc430ihNzi0vz0vWS83M3MUJi5usOxqXHrA4x CnAwKvHwFnDZhwqxJpYVV+YeYpTgYFYS4S3+YxcqxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfm rvchQgLpiSWp2ampBalFMFkmDk6pBsYua/OgL9VFX+WjNk/LXr7k33fG+dNfXVfeOVfh2Ptz EYe6thXy9p24ZDh7vfSDTCPjs1PkVtes3mE8y9d80Xlu6aDQg016+eIOgYutV+le1tVq7Hh+ 5+2PgNLDmrzfH7AvdvqoqqY7W+OJWc0Kr2QZI4WdlZd5zdJm/n5onviMwz912tY4EQUlluKM REMt5qLiRABFaJQmlQIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;