aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
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 /drivers/i2c
parentd1998a9fde0a917d6496299f6a97b6bccfdc6724 (diff)
downloadu-boot-b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f.zip
u-boot-b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f.tar.gz
u-boot-b012ff1f1b0d662587dcf8707fe7cbf1c1f35d2f.tar.bz2
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/i2c')
-rw-r--r--drivers/i2c/i2c-emul-uclass.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-emul-uclass.c b/drivers/i2c/i2c-emul-uclass.c
index 83f0f90..4fbf20e 100644
--- a/drivers/i2c/i2c-emul-uclass.c
+++ b/drivers/i2c/i2c-emul-uclass.c
@@ -64,8 +64,7 @@ int i2c_emul_find(struct udevice *dev, struct udevice **emulp)
UCLASS_DRIVER(i2c_emul) = {
.id = UCLASS_I2C_EMUL,
.name = "i2c_emul",
- .per_device_plat_auto =
- sizeof(struct i2c_emul_uc_platdata),
+ .per_device_plat_auto = sizeof(struct i2c_emul_uc_platdata),
};
/*