diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-03 16:55:22 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 16:51:09 -0700 |
commit | b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f (patch) | |
tree | 1e304c0d3f3a1a7598d6e35814d1ecd8cd8c6447 /drivers/spi/spi-uclass.c | |
parent | d1998a9fde0a917d6496299f6a97b6bccfdc6724 (diff) | |
download | u-boot-b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f.tar.gz |
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 'drivers/spi/spi-uclass.c')
-rw-r--r-- | drivers/spi/spi-uclass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c index bba887c4fd..0bba37779c 100644 --- a/drivers/spi/spi-uclass.c +++ b/drivers/spi/spi-uclass.c @@ -504,8 +504,7 @@ UCLASS_DRIVER(spi) = { .child_pre_probe = spi_child_pre_probe, .per_device_auto = sizeof(struct dm_spi_bus), .per_child_auto = sizeof(struct spi_slave), - .per_child_plat_auto = - sizeof(struct dm_spi_slave_platdata), + .per_child_plat_auto = sizeof(struct dm_spi_slave_platdata), #if !CONFIG_IS_ENABLED(OF_PLATDATA) .child_post_bind = spi_child_post_bind, #endif |