[PATCH v2 2/3] drivers: avoid using aliases on drivers when OF_PLATDATA is enabled

Simon Glass sjg at chromium.org
Sun Jul 26 16:53:58 CEST 2020


Hi Walter,

On Wed, 22 Jul 2020 at 21:22, Walter Lozano <walter.lozano at collabora.com> wrote:
>
> After latest improvements on OF_PLATDATA struct names are generated
> based on driver name instead of compatible strings. With this in mind,
> using aliases in drivers are not longer needed.
>
> This patch removes code that tried to handle these kind of aliases to
> improve readability.
>
> Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
> ---
>
> Changes in v2:
> - Remove aliases from drivers
>
>  drivers/gpio/mxs_gpio.c | 10 ++--------
>  drivers/mmc/mxsmmc.c    | 10 ++--------
>  drivers/spi/mxs_spi.c   | 10 ++--------
>  3 files changed, 6 insertions(+), 24 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

I think you should have 'imx:' as a tag for this commit. You could
shorten the subject too, e.g.s/when OF_PLATDATA is enabled/with
of-platdata/


More information about the U-Boot mailing list