[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181101144044.11495-1-ricardo.ribalda@gmail.com>
Date: Thu, 1 Nov 2018 15:40:39 +0100
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
To: Stephen Boyd <sboyd@...nel.org>, Alan Tull <atull@...nel.org>,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Subject: [PATCH 0/5] Implement devm_of_clk_add_provider
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
Powered by blists - more mailing lists