All Tull reported that there might be a great ammount of drivers with
imbalance on clk_add_provider. This is an issue for Device tree overlays
(and also a bug) https://lkml.org/lkml/2018/10/18/1103

This patchset implement a devm_ function of of_clk_add_provider, and
fixes 3 drivers.

Drivers like clk-gpio will be easily fixed with coccinelle if this set
is accepted. (I volunteer, I want to learn how to use it, just seen the
great presentations from Julia).

Ricardo Ribalda Delgado (5):
  clk: Refactor of_clk_add_provider and of_clk_add_hw_provider
  clk: Create devm_of_clk_add_provider
  clk: fixed-factor: Use devm_of_clk_add_provider
  clk: fixed-rate: Use devm_of_clk_add_provider
  clk: gpio: Use devm_of_clk_add_provider

 Documentation/driver-model/devres.txt |  1 +
 drivers/clk/clk-fixed-factor.c        | 14 ++++--
 drivers/clk/clk-fixed-rate.c          | 16 +++---
 drivers/clk/clk-gpio.c                |  2 +-
 drivers/clk/clk.c                     | 72 +++++++++++++++------------
 include/linux/clk-provider.h          | 11 ++++
 6 files changed, 73 insertions(+), 43 deletions(-)

-- 
2.19.1

Reply via email to