summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-03 16:55:22 -0700
committerSimon Glass <sjg@chromium.org>2020-12-13 16:51:09 -0700
commitb012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f (patch)
tree1e304c0d3f3a1a7598d6e35814d1ecd8cd8c6447 /test
parentd1998a9fde0a917d6496299f6a97b6bccfdc6724 (diff)
dm: treewide: Update 'auto' declarations to be on one line
Fix up the code style for those declarations that should now fit onto one line, which is all of them that currently do not. This is needed for dtoc to detect the structs correctly, at present. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/dm/bus.c3
-rw-r--r--test/dm/test-uclass.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/test/dm/bus.c b/test/dm/bus.c
index 0e83dc14d7d..9e81b1da1f0 100644
--- a/test/dm/bus.c
+++ b/test/dm/bus.c
@@ -103,8 +103,7 @@ U_BOOT_DRIVER(testbus_drv) = {
.priv_auto = sizeof(struct dm_test_priv),
.plat_auto = sizeof(struct dm_test_pdata),
.per_child_auto = sizeof(struct dm_test_parent_data),
- .per_child_plat_auto =
- sizeof(struct dm_test_parent_plat),
+ .per_child_plat_auto = sizeof(struct dm_test_parent_plat),
.child_pre_probe = testbus_child_pre_probe,
.child_post_remove = testbus_child_post_remove,
};
diff --git a/test/dm/test-uclass.c b/test/dm/test-uclass.c
index 378fc1e536a..3ab4a23649e 100644
--- a/test/dm/test-uclass.c
+++ b/test/dm/test-uclass.c
@@ -126,6 +126,5 @@ UCLASS_DRIVER(test) = {
.destroy = test_destroy,
.priv_auto = sizeof(struct dm_test_uclass_priv),
.per_device_auto = sizeof(struct dm_test_uclass_perdev_priv),
- .per_device_plat_auto =
- sizeof(struct dm_test_perdev_uc_pdata),
+ .per_device_plat_auto = sizeof(struct dm_test_perdev_uc_pdata),
};