Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751432AbdH3LhH (ORCPT ); Wed, 30 Aug 2017 07:37:07 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:38197 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdH3LhF (ORCPT ); Wed, 30 Aug 2017 07:37:05 -0400 MIME-Version: 1.0 In-Reply-To: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> From: Ulf Hansson Date: Wed, 30 Aug 2017 13:37:04 +0200 Message-ID: Subject: Re: [PATCH 0/3] constify ux500 clk_ops. To: Arvind Yadav Cc: Stephen Boyd , Mike Turquette , Linus Walleij , "linux-kernel@vger.kernel.org" , linux-clk , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 29 On 28 August 2017 at 09:02, Arvind Yadav wrote: > clk_ops are not supposed to change at runtime. All functions > working with clk_ops provided by work > with const clk_ops. So mark the non-const clk_ops as const. > > Here, Function "clk_reg_prcc" is used to initialized clk_init_data. > clk_init_data is working with const clk_ops. So make clk_reg_prcc > non-const clk_ops argument as const. > > Arvind Yadav (3): > [PATCH 1/3] clk: ux500: prcmu: constify clk_ops. > [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. > [PATCH 3/3] clk: ux500: prcc: constify clk_ops. > > drivers/clk/ux500/clk-prcc.c | 6 +++--- > drivers/clk/ux500/clk-prcmu.c | 14 +++++++------- > drivers/clk/ux500/clk-sysctrl.c | 8 ++++---- > 3 files changed, 14 insertions(+), 14 deletions(-) > > -- > 1.9.1 > Acked-by: Ulf Hansson Mike, Stephen, can you pick this up? Kind regards Uffe