lkml.org 
[lkml]   [2022]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] clk: Declare mux tables as const u32[]
Date
I noticed that the 'table' parameter to clk_register_mux_table is never
used for modifying the table elements, and so it can be declared const.

Jonathan Neuschäfer (5):
clk: mux: Declare u32 *table parameter as const
clk: hisilicon: Remove unnecessary cast of mux table to u32 *
clk: mmp: Declare mux tables as const u32[]
clk: qcom: Declare mux table as const u32[]
clk: pistachio: Declare mux table as const u32[]

drivers/clk/clk-mux.c | 10 +++++-----
drivers/clk/hisilicon/clk.c | 2 +-
drivers/clk/mmp/clk-of-mmp2.c | 4 ++--
drivers/clk/pistachio/clk-pistachio.c | 2 +-
drivers/clk/qcom/kpss-xcc.c | 2 +-
include/linux/clk-provider.h | 12 ++++++------
6 files changed, 16 insertions(+), 16 deletions(-)

--
2.34.1

\
 
 \ /
  Last update: 2022-01-29 10:52    [W:0.048 / U:1.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site