doc: dts: property deletion example fix

Improve the text and delete an unnecessary comment.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-03-26 06:16:53 -07:00 committed by Kumar Gala
commit fc40757441

View file

@ -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;
};