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: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20211127173036.150535-1-colin.i.king@gmail.com Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
fa55b7dcdc
commit
9259228037
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue