]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
watchdog: wdt-uclass.c: neaten UCLASS_DRIVER definition
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 19 Aug 2021 09:56:57 +0000 (11:56 +0200)
committerStefan Roese <sr@denx.de>
Tue, 31 Aug 2021 10:04:03 +0000 (12:04 +0200)
The addition of .pre_probe and .per_device_auto made this look
bad. Fix it.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
drivers/watchdog/wdt-uclass.c

index b29d21472480ed9ed116b56cfb0ecc303fdf55a3..81287c759af6e4fa6ad31729e10293b45c834e16 100644 (file)
@@ -210,10 +210,10 @@ static int wdt_pre_probe(struct udevice *dev)
 }
 
 UCLASS_DRIVER(wdt) = {
-       .id             = UCLASS_WDT,
-       .name           = "watchdog",
-       .flags          = DM_UC_FLAG_SEQ_ALIAS,
-       .post_bind      = wdt_post_bind,
+       .id                     = UCLASS_WDT,
+       .name                   = "watchdog",
+       .flags                  = DM_UC_FLAG_SEQ_ALIAS,
+       .post_bind              = wdt_post_bind,
        .pre_probe              = wdt_pre_probe,
        .per_device_auto        = sizeof(struct wdt_priv),
 };