[U-Boot] [PATCH v4 09/13] dm: clk: Define clk_get_by_id() for clk

sbabic at denx.de sbabic at denx.de
Mon Jun 10 09:39:47 UTC 2019


> 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 at denx.de>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Reviewed-by: Stefano Babic <sbabic at denx.de>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the U-Boot mailing list