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:
@@ -154,7 +154,7 @@ static int dm_test_autobind_uclass_pdata_alloc(struct unit_test_state *uts)
|
||||
* Test if test uclass driver requires allocation for the uclass
|
||||
* platform data and then check the dev->uclass_platdata pointer.
|
||||
*/
|
||||
ut_assert(uc->uc_drv->per_device_platdata_auto_alloc_size);
|
||||
ut_assert(uc->uc_drv->per_device_platdata_auto);
|
||||
|
||||
for (uclass_find_first_device(UCLASS_TEST, &dev);
|
||||
dev;
|
||||
|
||||
Reference in New Issue
Block a user