On Thu, Jul 24, 2025 at 11:42:17AM -0500, Bjorn Helgaas wrote: > On Sat, Jul 19, 2025 at 05:34:40AM +0100, Salah Triki wrote: > > ret = devm_add_action_or_reset(dev, clk_put, port->clk) > The second argument of devm_add_action_or_reset() is of type void (*)(void *) and the argument of clk_put() is of type struct clk *, so I think a cast is needed: ret = devm_add_action_or_reset(dev, (void (*)(void *)) clk_put, port->clk) Best regards, Salah Triki