summaryrefslogtreecommitdiff
path: root/test/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-04 02:55:22 +0300
committerSimon Glass <sjg@chromium.org>2020-12-14 02:51:09 +0300
commitb012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f (patch)
tree1e304c0d3f3a1a7598d6e35814d1ecd8cd8c6447 /test/dm
parentd1998a9fde0a917d6496299f6a97b6bccfdc6724 (diff)
downloadu-boot-b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f.tar.xz
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/dm')
-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 0e83dc14d7..9e81b1da1f 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 378fc1e536..3ab4a23649 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),
};