diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-28 20:34:56 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:26:35 -0700 |
commit | 65e25bea597ccaaea756c593318bea1e574d8df1 (patch) | |
tree | 6106e01b358d6637e94978b95c7e8fd5c99adc3d /drivers/firmware | |
parent | 8629d30a32e7b4ff8323292364116c08033bd57b (diff) | |
download | u-boot-65e25bea597ccaaea756c593318bea1e574d8df1.zip u-boot-65e25bea597ccaaea756c593318bea1e574d8df1.tar.gz u-boot-65e25bea597ccaaea756c593318bea1e574d8df1.tar.bz2 |
dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET()
In the spirit of using the same base name for all of these related macros,
rename this to have the operation at the end. This is not widely used so
the impact is fairly small.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/scmi/scmi_agent-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/scmi/scmi_agent-uclass.c b/drivers/firmware/scmi/scmi_agent-uclass.c index b3d3f0a..516e690 100644 --- a/drivers/firmware/scmi/scmi_agent-uclass.c +++ b/drivers/firmware/scmi/scmi_agent-uclass.c @@ -73,11 +73,11 @@ static int scmi_bind_protocols(struct udevice *dev) switch (protocol_id) { case SCMI_PROTOCOL_ID_CLOCK: if (IS_ENABLED(CONFIG_CLK_SCMI)) - drv = DM_GET_DRIVER(scmi_clock); + drv = DM_DRIVER_GET(scmi_clock); break; case SCMI_PROTOCOL_ID_RESET_DOMAIN: if (IS_ENABLED(CONFIG_RESET_SCMI)) - drv = DM_GET_DRIVER(scmi_reset_domain); + drv = DM_DRIVER_GET(scmi_reset_domain); break; default: break; |