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 To delete a property (in addition to deleting properties in general, this is
false value): how to set a boolean property to false if it's true in BOARD.dts):
.. code-block:: none .. code-block:: none
/* Option 1 */
&serial0 { &serial0 {
/delete-property/ some-unwanted-property; /delete-property/ some-unwanted-property;
}; };