Re: [PATCH 09/49] dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()

2021-01-06 Thread Simon Glass
On 12/29/20 12:34 AM, Simon Glass wrote: > This does not get a device (struct udevice *) but a struct driver_info * > so the name is confusing. > > Rename it accordingly. Since we plan to have several various of these > macros, put GET at the end instead of the middle, so it is easier to spot > the

Re: [PATCH 09/49] dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()

2021-01-05 Thread Walter Lozano
On 12/29/20 12:34 AM, Simon Glass wrote: This does not get a device (struct udevice *) but a struct driver_info * so the name is confusing. Rename it accordingly. Since we plan to have several various of these macros, put GET at the end instead of the middle, so it is easier to spot the relate

[PATCH 09/49] dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()

2020-12-28 Thread Simon Glass
This does not get a device (struct udevice *) but a struct driver_info * so the name is confusing. Rename it accordingly. Since we plan to have several various of these macros, put GET at the end instead of the middle, so it is easier to spot the related macros. Signed-off-by: Simon Glass ---