devicetree.h: sort sub-includes and API docs for them

Trivial cleanup: sort the devicetree/foo.h includes and the relevant
sections for them in the documentation.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-03-28 16:15:18 -07:00 committed by Kumar Gala
commit 413e16d7bf
2 changed files with 8 additions and 8 deletions

View file

@ -79,6 +79,12 @@ ADC
.. doxygengroup:: devicetree-adc
:project: Zephyr
Clocks
======
.. doxygengroup:: devicetree-clocks
:project: Zephyr
GPIO
====
@ -90,9 +96,3 @@ SPI
.. doxygengroup:: devicetree-spi
:project: Zephyr
Clocks
======
.. doxygengroup:: devicetree-clocks
:project: Zephyr

View file

@ -1429,10 +1429,10 @@
* @}
*/
#include <devicetree/gpio.h>
#include <devicetree/spi.h>
#include <devicetree/adc.h>
#include <devicetree/clocks.h>
#include <devicetree/gpio.h>
#include <devicetree/spi.h>
/** @internal pay no attention to the man behind the curtain! */
#define DT_PATH_INTERNAL(...) \