From a0e4d31c5531b55a638d1efa0a43e1f296a2f2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Tue, 7 Sep 2021 11:59:08 +0200 Subject: Remove unnecessary use of designated initializer Change-Id: I16de9223e59e46ad9fb25bd280a175cd50af913d --- src/ethosu_device_u55.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethosu_device_u55.c b/src/ethosu_device_u55.c index 0930948..87add7e 100644 --- a/src/ethosu_device_u55.c +++ b/src/ethosu_device_u55.c @@ -66,7 +66,7 @@ enum ethosu_error_codes ethosu_dev_get_id(struct ethosu_device *dev, struct etho enum ethosu_error_codes ethosu_dev_get_config(struct ethosu_device *dev, struct ethosu_config *config) { - struct config_r cfg = {.word = 0}; + struct config_r cfg = {0}; cfg.word = ethosu_dev_read_reg(dev, NPU_REG_CONFIG); -- cgit v1.2.1