Re: [U-Boot] [PATCH v3 08/11] dm: clk: Define clk_get_by_id() for clk operations

2019-04-25 Thread Peng Fan
> Subject: [PATCH v3 08/11] 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

[U-Boot] [PATCH v3 08/11] dm: clk: Define clk_get_by_id() for clk operations

2019-04-25 Thread Lukasz Majewski
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 UCLAS