[U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver
Simon Glass
sjg at chromium.org
Mon Aug 1 03:01:00 CEST 2016
Hi Stephen,
On 18 July 2016 at 10:23, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 07/17/2016 03:23 PM, Simon Glass wrote:
>>
>> Some SoCs have a single clock device. Provide a way to find it given its
>> driver name. This is handled by the linker so will fail if the name is not
>> found, avoiding strange errors when names change and do not match. It is
>> also faster than a string comparison.
>
>
> The code looks plausible, but the commit subject and description imply this
> has something to do with clocks, whereas it doesn't; it seems to be a
> generic/core DM function.
Yes you are correct. I updated the commit subject when I applied it:
c57f806 dm: core: Add a way to find a device by its driver
Regards,
Simon
More information about the U-Boot
mailing list