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 <sjg@chromium.org>
This commit is contained in:
@@ -443,7 +443,7 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg)
|
||||
* .plat_auto = sizeof(struct msm_sdhc_plat),
|
||||
*
|
||||
* To access platform data:
|
||||
* struct msm_sdhc_plat *plat = dev_get_platdata(dev);
|
||||
* struct msm_sdhc_plat *plat = dev_get_plat(dev);
|
||||
*
|
||||
* See msm_sdhci.c for an example.
|
||||
*
|
||||
|
Reference in New Issue
Block a user