Re: [U-Boot] [PATCH v2 04/17] dm: clk: Define clk_get_by_id() for clk operations

2019-01-31 Thread Lukasz Majewski
Hi Simon, > On Thu, 31 Jan 2019 at 02:04, Lukasz Majewski 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).

Re: [U-Boot] [PATCH v2 04/17] dm: clk: Define clk_get_by_id() for clk operations

2019-01-31 Thread Simon Glass
On Thu, 31 Jan 2019 at 02:04, Lukasz Majewski 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

[U-Boot] [PATCH v2 04/17] dm: clk: Define clk_get_by_id() for clk operations

2019-01-31 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