mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
78128d52df
commit
41575d8e4c
956 changed files with 1365 additions and 1369 deletions
|
@ -504,6 +504,6 @@ U_BOOT_DRIVER(cdns_i2c) = {
|
|||
.id = UCLASS_I2C,
|
||||
.of_match = cdns_i2c_of_match,
|
||||
.ofdata_to_platdata = cdns_i2c_ofdata_to_platdata,
|
||||
.priv_auto_alloc_size = sizeof(struct i2c_cdns_bus),
|
||||
.priv_auto = sizeof(struct i2c_cdns_bus),
|
||||
.ops = &cdns_i2c_ops,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue