]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()
authorSimon Glass <sjg@chromium.org>
Tue, 29 Dec 2020 03:34:55 +0000 (20:34 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:26:35 +0000 (12:26 -0700)
commit8629d30a32e7b4ff8323292364116c08033bd57b
tree54ecbaa9d6b5dc3d30f037c88cf1fd23e2cc602b
parent20e442ab2df355450006574fff178c746d254a18
dm: Rename DM_GET_DEVICE() to DM_DRVINFO_GET()

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 <sjg@chromium.org>
doc/driver-model/of-plat.rst
include/dm/platdata.h
tools/dtoc/dtb_platdata.py