android_kernel_motorola_sm6375/Documentation/driver-model
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
2016-04-19 16:51:58 -07:00
..
binding.txt docs/driver-model: Update device class docs 2011-08-24 16:01:24 -07:00
bus.txt doc: driver-model: improve wording "is provide the" 2014-12-29 15:29:33 -07:00
class.txt
design-patterns.txt Documentation: fix spelling in design-patterns 2013-12-19 10:10:32 -08:00
device.txt docs/driver-model: Document device.groups 2011-08-24 16:01:24 -07:00
devres.txt clk: Add {devm_}clk_hw_{register,unregister}() APIs 2016-04-19 16:51:58 -07:00
driver.txt
overview.txt DOCUMENTATION: Update overview.txt in Doc/driver-model. 2011-06-07 10:04:21 -07:00
platform.txt driver-core: platform: fix typo in documentation for multi-driver helper 2016-02-09 17:39:33 -08:00
porting.txt ARM: 8524/1: driver cohandle -EPROBE_DEFER from bus_type.match() 2016-02-16 16:28:51 +00:00