From 86893246053c50d34618f09ec6722cae8ba19472 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Thu, 11 Aug 2022 17:53:33 +0200 Subject: [PATCH] [nrf fromtree] drivers: spi: fix sample syntax Upcoming versions of breathe highlight code embedded in Doxygen blocks. In this case, the Devicetree fragment contained invalid syntax leading to Sphinx warnings. Signed-off-by: Gerard Marull-Paretas --- include/zephyr/drivers/spi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/zephyr/drivers/spi.h b/include/zephyr/drivers/spi.h index 34e23d7d830..acac793bd79 100644 --- a/include/zephyr/drivers/spi.h +++ b/include/zephyr/drivers/spi.h @@ -163,11 +163,11 @@ struct spi_cs_control { * Example devicetree fragment: * * @code{.devicetree} - * gpio1: gpio@... { ... }; + * gpio1: gpio@abcd0001 { ... }; * - * gpio2: gpio@... { ... }; + * gpio2: gpio@abcd0002 { ... }; * - * spi@... { + * spi@abcd0003 { * compatible = "vnd,spi"; * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, * <&gpio2 20 GPIO_ACTIVE_LOW>;