Re: [PATCH 0/2] clk: add devm variant of clk_notifier_register

2020-11-14 Thread Stephen Boyd
Quoting Jerome Brunet (2020-10-21 09:38:45)
> This patchset adds memory managed variant of clk_notifier_register and
> a first usage of it the amlogic clock controller of the g12 SoC family.
> 
> Jerome Brunet (2):
>   clk: add devm variant of clk_notifier_register

I'm not sure if we want to document these in the devres document?

Documentation/driver-api/driver-model/devres.rst

It would be nice if that thing could auto-generate the list of devres
APIs somehow.


[PATCH 0/2] clk: add devm variant of clk_notifier_register

2020-10-21 Thread Jerome Brunet
This patchset adds memory managed variant of clk_notifier_register and
a first usage of it the amlogic clock controller of the g12 SoC family.

Jerome Brunet (2):
  clk: add devm variant of clk_notifier_register
  clk: meson: g12: use devm variant to register notifiers

 drivers/clk/clk.c| 36 
 drivers/clk/meson/g12a.c | 34 --
 include/linux/clk.h  | 18 ++
 3 files changed, 74 insertions(+), 14 deletions(-)

-- 
2.25.4