diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 27c30a533759..ce9dbef314d5 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -4695,6 +4695,7 @@ int devm_clk_notifier_register(struct device *dev, struct clk *clk, if (!ret) { devres->clk = clk; devres->nb = nb; + devres_add(dev, devres); } else { devres_free(devres); }