Hi Lukasz, On Thu, 16 May 2019 at 16:11, Lukasz Majewski <lu...@denx.de> wrote: > > 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 <lu...@denx.de> > > --- > > Changes in v4: None > Changes in v3: > - Replace -ENODEV with -ENOENT > - Use **clkp instead of **c > > drivers/clk/clk-uclass.c | 22 ++++++++++++++++++++++ > include/clk.h | 11 +++++++++++ > 2 files changed, 33 insertions(+)
Again this new function needs a test. I'll stop commenting now :-) Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot