Files
linux/Documentation
Stephen Boyd 4143804c4f clk: Add {devm_}clk_hw_{register,unregister}() APIs
We've largely split the clk consumer and provider APIs along
struct clk and struct clk_hw, but clk_register() still returns a
struct clk pointer for each struct clk_hw that's registered.
Eventually we'd like to only allocate struct clks when there's a
user, because struct clk is per-user now, so clk_register() needs
to change.

Let's add new APIs to register struct clk_hws, but this time
we'll hide the struct clk from the caller by returning an int
error code. Also add an unregistration API that takes the clk_hw
structure that was passed to the registration API. This way
provider drivers never have to deal with a struct clk pointer
unless they're using the clk consumer APIs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-04-19 16:51:58 -07:00
..
2016-02-06 15:33:11 +08:00
2016-01-25 12:01:08 -02:00
2014-02-28 15:12:08 -08:00
2014-02-10 16:01:40 -08:00
2015-10-27 18:55:31 -07:00
2016-02-10 13:14:37 -07:00
2014-12-10 17:41:10 -08:00
2015-10-26 16:00:09 +01:00
2015-06-08 23:15:45 +02:00
2015-07-14 12:35:42 -06:00
2015-11-30 12:14:12 +00:00
2015-02-27 11:44:24 -08:00
2013-12-02 14:48:28 +01:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2014-05-05 15:32:05 +02:00
2014-09-23 23:44:16 -07:00