All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] constify ux500 clk_ops.
@ 2017-08-28  7:02 ` Arvind Yadav
  0 siblings, 0 replies; 17+ messages in thread
From: Arvind Yadav @ 2017-08-28  7:02 UTC (permalink / raw)
  To: sboyd, mturquette, ulf.hansson, linus.walleij, mturquette
  Cc: linux-kernel, linux-clk, linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-08-31  5:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 0/3] constify ux500 clk_ops Ulf Hansson
2017-08-30 11:37   ` Ulf Hansson
2017-08-30 11:37   ` Ulf Hansson

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.