]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS
authorSimon Glass <sjg@chromium.org>
Tue, 29 Dec 2020 03:34:57 +0000 (20:34 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:26:35 +0000 (12:26 -0700)
commitbdf8fd76c0184373bbd31e6ee9a3a9430dcfc485
treea074b2d3d36e615d376b3034e31bf1f858cc6694
parent65e25bea597ccaaea756c593318bea1e574d8df1
dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS

We use the U_BOOT_ prefix (i.e. U_BOOT_DRIVER) to declare a driver but
in every other case we just use DM_. Update the alias macros to use the
DM_ prefix.

We could perhaps rename U_BOOT_DRIVER() to DM_DRIVER(), but this macro
is widely used and there is at least some benefit to indicating it us a
U-Boot driver, particularly for code ported from Linux. So for now, let's
keep that name.

Signed-off-by: Simon Glass <sjg@chromium.org>
19 files changed:
doc/driver-model/of-plat.rst
drivers/gpio/mxc_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/sandbox.c
drivers/i2c/rk_i2c.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/mxsmmc.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mtd/spi/sf_probe.c
drivers/pinctrl/nxp/pinctrl-imx6.c
drivers/pinctrl/nxp/pinctrl-mxs.c
drivers/pinctrl/pinctrl-at91.c
drivers/power/pmic/rk8xx.c
drivers/serial/ns16550.c
drivers/spi/mxs_spi.c
drivers/spi/rk_spi.c
include/dm/device.h
tools/dtoc/dtb_platdata.py
tools/dtoc/dtoc_test_scan_drivers.cxx