diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-06-24 15:50:44 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-07-19 14:50:30 +0200 |
commit | 2796af7368acab27a6f9141cecba78106891f1bf (patch) | |
tree | 46dc367d013f9617a3a794ba45a7f86242018184 /Licenses | |
parent | 4aa78300a025b7e09aa8e902b2178b1870ef1ec5 (diff) |
dm: clk: Define clk_get_by_id() for clk operations
This commit adds the clk_get_by_id() function, which is responsible
for getting the udevice with matching clk->id. Such approach allows
re-usage of inherit DM list relationship for the same class (UCLASS_CLK).
As a result - we don't need any other external list - it is just enough
to look for UCLASS_CLK related udevices.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'Licenses')
0 files changed, 0 insertions, 0 deletions