Re: [09/10] clk: ti: Less function calls in _ti_clkctrl_clk_register() after error detection

From: Markus Elfring
Date: Thu Dec 28 2023 - 01:41:32 EST



> drivers/clk/ti/clkctrl.c: In function '_ti_clkctrl_clk_register':
>>> drivers/clk/ti/clkctrl.c:330:1: error: 'free_init_name' undeclared (first use in this function)

> 328 cleanup:
> 329 kfree(clkctrl_clk);
> > 330 free_init_name;
> 331 kfree(init.name);
> 332 return ret;


Will it become helpful to fix a typo for the delimiter of the shown label?

Or:

Are you looking for further adjustments according to software design options
which would be supported by the file “cleanup.h”?
https://elixir.bootlin.com/linux/v6.7-rc7/source/include/linux/cleanup.h

Regards,
Markus