Commit 92592280 authored by Colin Ian King's avatar Colin Ian King Committed by Stephen Boyd

clk/ti/adpll: Make const pointer error a static const array

Make const pointer error a static const array, removes a dereference
and shrinks object code a little.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20211127173036.150535-1-colin.i.king@gmail.comAcked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent fa55b7dc
......@@ -807,7 +807,7 @@ static int ti_adpll_init_registers(struct ti_adpll_data *d)
static int ti_adpll_init_inputs(struct ti_adpll_data *d)
{
const char *error = "need at least %i inputs";
static const char error[] = "need at least %i inputs";
struct clk *clock;
int nr_inputs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment