]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: avoid using aliases on drivers when OF_PLATDATA is enabled
authorWalter Lozano <walter.lozano@collabora.com>
Thu, 23 Jul 2020 03:22:04 +0000 (00:22 -0300)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commitdf17cdc9cf36c43b7ba6a9f2acdc3ba5d9040334
treeaedd6231fa6cec0d0dd3521525cab0cc060f506e
parentdcb3ed642bce02ea9d7d7ef8a0a6f656f4fc4f2a
drivers: avoid using aliases on drivers when OF_PLATDATA is enabled

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@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/mxs_gpio.c
drivers/mmc/mxsmmc.c
drivers/spi/mxs_spi.c