linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] constify clk clk_div_table
@ 2017-08-28  5:28 Arvind Yadav
  2017-08-28  5:28 ` [PATCH 1/2] clk: imx: constify clk_div_table Arvind Yadav
  2017-08-28  5:28 ` [PATCH 2/2] clk: zte: " Arvind Yadav
  0 siblings, 2 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-08-28  5:28 UTC (permalink / raw)
  To: linux-arm-kernel

clk_div_table are not supposed to change at runtime. All functions
working with clk_div_table provided by <linux/clk-provider.h> work
with const clk_div_table. So mark the non-const structs as const.

Arvind Yadav (2):
  [PATCH 1/2] clk: imx: constify clk_div_table
  [PATCH 2/2] clk: zte: constify clk_div_table

 drivers/clk/imx/clk-imx6sl.c   | 6 +++---
 drivers/clk/imx/clk-imx6sx.c   | 6 +++---
 drivers/clk/imx/clk-imx6ul.c   | 6 +++---
 drivers/clk/imx/clk-imx7d.c    | 4 ++--
 drivers/clk/imx/clk-vf610.c    | 2 +-
 drivers/clk/zte/clk-zx296718.c | 6 +++---
 6 files changed, 15 insertions(+), 15 deletions(-)

-- 
1.9.1

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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-28  5:28 [PATCH 0/2] constify clk clk_div_table Arvind Yadav
2017-08-28  5:28 ` [PATCH 1/2] clk: imx: constify clk_div_table Arvind Yadav
2017-08-28  9:42   ` Shawn Guo
2017-08-31  5:32   ` Stephen Boyd
2017-08-28  5:28 ` [PATCH 2/2] clk: zte: " Arvind Yadav
2017-08-28  9:43   ` Shawn Guo
2017-08-31  5:32   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).