From c69cda25c9b59e53a6bc8969ada58942549f5b5d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Dec 2020 16:55:20 -0700 Subject: dm: treewide: Rename dev_get_platdata() to dev_get_plat() Rename this to be consistent with the change from 'platdata'. Signed-off-by: Simon Glass --- include/dwmmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dwmmc.h') diff --git a/include/dwmmc.h b/include/dwmmc.h index 4515a44dc2..51ab74ead3 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -259,7 +259,7 @@ static inline u8 dwmci_readb(struct dwmci_host *host, int reg) * .plat_auto = sizeof(struct rockchip_mmc_plat), * * To access platform data: - * struct rockchip_mmc_plat *plat = dev_get_platdata(dev); + * struct rockchip_mmc_plat *plat = dev_get_plat(dev); * * See rockchip_dw_mmc.c for an example. * -- cgit v1.2.3