[U-Boot] [PATCH v5 05/15] dm: Rename struct device_id to udevice_id

Simon Glass sjg at chromium.org
Wed Jun 11 18:12:38 CEST 2014


Hi Jon,

On 11 June 2014 07:49, Jon Loeliger <loeliger at gmail.com> wrote:
> On Tue, Jun 10, 2014 at 6:53 PM, Simon Glass <sjg at chromium.org> wrote:
>> It is best to avoid having any occurence of 'struct device' in driver
>> model, so rename to achieve this.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>
>
> Hmm.  It's not just a good idea, right?  That change is upstream already
> so this is a compilation requirement now, right?

No, it's just a rename. But I feel that if we have 'struct udevice' we
should not have 'struct device_id'. It is just confusing.

Regards,
Simon


More information about the U-Boot mailing list