From fc407574412a6c5aaf5161360a05e11d8a964f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Thu, 26 Mar 2020 06:16:53 -0700 Subject: [PATCH] doc: dts: property deletion example fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improve the text and delete an unnecessary comment. Signed-off-by: Martí Bolívar --- doc/guides/dts/howtos.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/guides/dts/howtos.rst b/doc/guides/dts/howtos.rst index 20b6bb0b384..9edd09585ca 100644 --- a/doc/guides/dts/howtos.rst +++ b/doc/guides/dts/howtos.rst @@ -254,12 +254,11 @@ Chosen nodes work the same way. For example: }; }; -To delete a property (this is how you override a true boolean property to a -false value): +To delete a property (in addition to deleting properties in general, this is +how to set a boolean property to false if it's true in BOARD.dts): .. code-block:: none - /* Option 1 */ &serial0 { /delete-property/ some-unwanted-property; };