mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
dm: treewide: Rename auto_alloc_size members to be shorter
This construct is quite long-winded. In earlier days it made some sense since auto-allocation was a strange concept. But with driver model now used pretty universally, we can shorten this to 'auto'. This reduces verbosity and makes it easier to read. Coincidentally it also ensures that every declaration is on one line, thus making dtoc's job easier. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -440,7 +440,7 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg)
|
||||
* ...
|
||||
*
|
||||
* Inside U_BOOT_DRIVER():
|
||||
* .platdata_auto_alloc_size = sizeof(struct msm_sdhc_plat),
|
||||
* .platdata_auto = sizeof(struct msm_sdhc_plat),
|
||||
*
|
||||
* To access platform data:
|
||||
* struct msm_sdhc_plat *plat = dev_get_platdata(dev);
|
||||
|
Reference in New Issue
Block a user