All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>,
	Mike Turquette <mturquette@baylibre.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linux-clk <linux-clk@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 0/3] constify ux500 clk_ops.
Date: Wed, 30 Aug 2017 13:37:04 +0200	[thread overview]
Message-ID: <CAPDyKFpHH_jU-iYZtgjAPLc9jDvERcPEHcJu-f=7b1P8LvYSqA@mail.gmail.com> (raw)
In-Reply-To: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com>

On 28 August 2017 at 09:02, Arvind Yadav <arvind.yadav.cs@gmail.com> wrote:
> clk_ops are not supposed to change at runtime. All functions
> working with clk_ops provided by <linux/clk-provider.h> 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 <ulf.hansson@linaro.org>

Mike, Stephen, can you pick this up?

Kind regards
Uffe

WARNING: multiple messages have this Message-ID (diff)
From: ulf.hansson@linaro.org (Ulf Hansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] constify ux500 clk_ops.
Date: Wed, 30 Aug 2017 13:37:04 +0200	[thread overview]
Message-ID: <CAPDyKFpHH_jU-iYZtgjAPLc9jDvERcPEHcJu-f=7b1P8LvYSqA@mail.gmail.com> (raw)
In-Reply-To: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com>

On 28 August 2017 at 09:02, Arvind Yadav <arvind.yadav.cs@gmail.com> wrote:
> clk_ops are not supposed to change at runtime. All functions
> working with clk_ops provided by <linux/clk-provider.h> 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 <ulf.hansson@linaro.org>

Mike, Stephen, can you pick this up?

Kind regards
Uffe

  parent reply	other threads:[~2017-08-30 11:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28  7:02 [PATCH 0/3] constify ux500 clk_ops Arvind Yadav
2017-08-28  7:02 ` Arvind Yadav
2017-08-28  7:02 ` [PATCH 1/3] clk: ux500: prcmu: constify clk_ops Arvind Yadav
2017-08-28  7:02   ` Arvind Yadav
2017-08-31  5:28   ` Stephen Boyd
2017-08-31  5:28     ` Stephen Boyd
2017-08-28  7:02 ` [PATCH 2/3] clk: ux500: sysctrl: " Arvind Yadav
2017-08-28  7:02   ` Arvind Yadav
2017-08-31  5:28   ` Stephen Boyd
2017-08-31  5:28     ` Stephen Boyd
2017-08-28  7:02 ` [PATCH 3/3] clk: ux500: prcc: " Arvind Yadav
2017-08-28  7:02   ` Arvind Yadav
2017-08-31  5:28   ` Stephen Boyd
2017-08-31  5:28     ` Stephen Boyd
2017-08-30 11:37 ` Ulf Hansson [this message]
2017-08-30 11:37   ` [PATCH 0/3] constify ux500 clk_ops Ulf Hansson
2017-08-30 11:37   ` Ulf Hansson

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='CAPDyKFpHH_jU-iYZtgjAPLc9jDvERcPEHcJu-f=7b1P8LvYSqA@mail.gmail.com' \
    --to=ulf.hansson@linaro.org \
    --cc=arvind.yadav.cs@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.org \
    /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: link
Be 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.