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:
@@ -647,9 +647,9 @@ U_BOOT_DRIVER(altera_gen5_sdram) = {
|
||||
.of_match = altera_gen5_sdram_ids,
|
||||
.ops = &altera_gen5_sdram_ops,
|
||||
.ofdata_to_platdata = altera_gen5_sdram_ofdata_to_platdata,
|
||||
.platdata_auto_alloc_size = sizeof(struct altera_gen5_sdram_platdata),
|
||||
.platdata_auto = sizeof(struct altera_gen5_sdram_platdata),
|
||||
.probe = altera_gen5_sdram_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct altera_gen5_sdram_priv),
|
||||
.priv_auto = sizeof(struct altera_gen5_sdram_priv),
|
||||
};
|
||||
|
||||
#endif /* CONFIG_SPL_BUILD */
|
||||
|
||||
@@ -304,7 +304,7 @@ U_BOOT_DRIVER(altera_sdram) = {
|
||||
.of_match = altera_sdram_ids,
|
||||
.ops = &altera_sdram_ops,
|
||||
.ofdata_to_platdata = altera_sdram_ofdata_to_platdata,
|
||||
.platdata_auto_alloc_size = sizeof(struct altera_sdram_platdata),
|
||||
.platdata_auto = sizeof(struct altera_sdram_platdata),
|
||||
.probe = altera_sdram_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct altera_sdram_priv),
|
||||
.priv_auto = sizeof(struct altera_sdram_priv),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user