Skip to content

Commit

Permalink
global: Remove leading/trailing blank lines in files
Browse files Browse the repository at this point in the history
Remove leading/trailing blank lines in .c, .h, .py, .rst, .yml, and
.yaml files.

Will avoid failures with the new CI test in
zephyrproject-rtos/ci-tools#112, though it only
checks changed files.

Move the 'target-notes' target in boards/xtensa/odroid_go/doc/index.rst
to get rid of the trailing blank line there. It was probably misplaced.

Signed-off-by: Ulf Magnusson <[email protected]>
  • Loading branch information
ulfalizer authored and ioannisg committed Dec 11, 2019
1 parent d91f993 commit 984bfae
Show file tree
Hide file tree
Showing 253 changed files with 2 additions and 303 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. raw:: html

<a href="https://www.zephyrproject.org">
Expand Down
1 change: 0 additions & 1 deletion arch/arc/core/irq_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ void arch_irq_offload(irq_offload_routine_t routine, void *parameter)

irq_unlock(key);
}

1 change: 0 additions & 1 deletion arch/arc/core/vector_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ struct vector_table _VectorTable Z_GENERIC_SECTION(.exc_vector_table) = {
0,
0
};

1 change: 0 additions & 1 deletion arch/nios2/core/irq_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ void arch_irq_offload(irq_offload_routine_t routine, void *parameter)

irq_unlock(key);
}

1 change: 0 additions & 1 deletion arch/posix/core/fatal.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ FUNC_NORETURN void arch_system_halt(unsigned int reason)
posix_print_error_and_exit("Exiting due to fatal error\n");
CODE_UNREACHABLE; /* LCOV_EXCL_LINE */
}

1 change: 0 additions & 1 deletion boards/arc/hsdk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,3 @@ References
.. _Digilent Pmod Modules: http://store.digilentinc.com/pmod-modules

.. _Putty website: http://www.putty.org

1 change: 0 additions & 1 deletion boards/arm/bbc_microbit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ References
.. target-notes::

.. _microbit website: http://www.microbit.org/

1 change: 0 additions & 1 deletion boards/arm/bl652_dvk/doc/bl652_dvk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,3 @@ References
.. target-notes::

.. _BL652 Module Website: https://connectivity.lairdtech.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl652-series-bluetooth-v5-nfc

1 change: 0 additions & 1 deletion boards/arm/bl654_dvk/doc/bl654_dvk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,3 @@ References

.. _BL654 website: https://connectivity.lairdtech.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl654-series
.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html

1 change: 0 additions & 1 deletion boards/arm/decawave_dwm1001_dev/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ config BT_CTLR
default BT

endif # BOARD_DECAWAVE_DWM1001_DEV

1 change: 0 additions & 1 deletion boards/arm/decawave_dwm1001_dev/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ References
.. _nRF52832 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52832
.. _Decawave DWM1001 website: https://www.decawave.com/product/dwm1001-module
.. _Decawave DWM1001-DEV website: https://www.decawave.com/product/dwm1001-development-board

Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,3 @@ You can debug an application in the usual way. Here is an example for the
https://www.st.com/resource/en/datasheet/stm32f415rg.pdf
.. _MINI-M4 for STM32 User Manual:
https://download.mikroe.com/documents/starter-boards/mini/stm32/f4/mini-m4-stm32-manual-v100.pdf

1 change: 0 additions & 1 deletion boards/arm/mimxrt1015_evk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,3 @@ see the following message in the terminal:

.. _i.MX RT1015 Reference Manual:
https://www.nxp.com/docs/en/reference-manual/IMXRT1015RM.pdf

1 change: 0 additions & 1 deletion boards/arm/nrf51_pca10031/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,3 @@ References

.. _nRF51 Dongle website: http://www.nordicsemi.com/eng/Products/nRF51-Dongle
.. _Nordic Semiconductor Infocenter: http://infocenter.nordicsemi.com/

1 change: 0 additions & 1 deletion boards/arm/nrf52810_pca10040/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ References
.. target-notes::

.. _nRF52810 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52810

1 change: 0 additions & 1 deletion boards/arm/nrf52811_pca10056/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ References
.. target-notes::

.. _nRF52811 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52811

2 changes: 0 additions & 2 deletions boards/arm/nrf52832_mdk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ References

.. _nRF52832 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52832
.. _nRF52832-mdk website: https://wiki.makerdiary.com/nrf52832-mdk


1 change: 0 additions & 1 deletion boards/arm/nrf52840_mdk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ References

.. _nRF52840 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52840
.. _nRF52840-mdk website: https://wiki.makerdiary.com/nrf52840-mdk

1 change: 0 additions & 1 deletion boards/arm/nrf52840_papyr/doc/nrf52840_papyr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,3 @@ References
.. _Nordic Semiconductor Infocenter: http://infocenter.nordicsemi.com/
.. _Black Magic Probe website: https://github.com/blacksphere/blackmagic
.. _Bumpy website: https://docs.electronut.in/bumpy/

1 change: 0 additions & 1 deletion boards/arm/nrf52_pca20020/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -386,4 +386,3 @@ References

.. _nRF52 DK website: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/Nordic-Thingy-52
.. _Nordic Semiconductor Infocenter: http://infocenter.nordicsemi.com/

1 change: 0 additions & 1 deletion boards/arm/nrf52_vbluno52/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@ components on the VBLUno52 board:
* :ref:`button-sample`
* :ref:`bluetooth-beacon-sample`
* :ref:`peripheral_hr`

1 change: 0 additions & 1 deletion boards/arm/nucleo_f756zg/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,3 @@ You can debug an application in the usual way. Here is an example for the

.. _STM32F756 reference manual:
https://www.st.com/resource/en/reference_manual/dm00124865.pdf

1 change: 0 additions & 1 deletion boards/arm/olimex_stm32_e407/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,3 @@ way. Here is an example for the :ref:`hello_world` application.

.. _ST STM32F407ZG Datasheet:
http://www.st.com/resource/en/reference_manual/dm00031020.pdf

1 change: 0 additions & 1 deletion boards/arm/olimex_stm32_e407/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ static int pinmux_stm32_init(struct device *port)

SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1,
CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY);

1 change: 0 additions & 1 deletion boards/arm/olimex_stm32_h407/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,3 @@ way. Here is an example for the :ref:`hello_world` application.

.. _ST STM32F407ZG Datasheet:
http://www.st.com/resource/en/reference_manual/dm00031020.pdf

1 change: 0 additions & 1 deletion boards/arm/olimex_stm32_h407/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ static int pinmux_stm32_init(struct device *port)

SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1,
CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY);

1 change: 0 additions & 1 deletion boards/arm/olimex_stm32_p405/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,3 @@ You can debug an application in the usual way. Here is an example for the

.. _ST STM32F405RG Datasheet:
http://www.st.com/resource/en/reference_manual/dm00031020.pdf

1 change: 0 additions & 1 deletion boards/arm/sensortile_box/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,3 @@ References

.. _DFU-UTIL website:
http://dfu-util.sourceforge.net/

1 change: 0 additions & 1 deletion boards/arm/steval_fcu001v1/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
config BOARD_STEVAL_FCU001V1
bool "STM32 Flight Controller Unit"
depends on SOC_STM32F401XC

1 change: 0 additions & 1 deletion boards/arm/steval_fcu001v1/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,3 @@ You can debug an application in the usual way. Here is an example for the

.. _STM32F401 reference manual:
http://www.st.com/resource/en/reference_manual/dm00096844.pdf

1 change: 0 additions & 1 deletion boards/arm/twr_ke18f/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,3 @@ static int twr_ke18f_pinmux_init(struct device *dev)
}

SYS_INIT(twr_ke18f_pinmux_init, PRE_KERNEL_1, CONFIG_PINMUX_INIT_PRIORITY);

1 change: 0 additions & 1 deletion boards/posix/native_posix/cmdline_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ void cmd_print_switches_help(struct args_struct_t args_struct[]);
#endif

#endif /* _CMDLINE_COMMON_H */

2 changes: 0 additions & 2 deletions boards/posix/native_posix/doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _native_posix:

Native POSIX execution (native_posix)
Expand Down Expand Up @@ -657,4 +656,3 @@ these commands::

$ sudo apt-get install pkg-config libfuse-dev:i386
$ export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig

1 change: 0 additions & 1 deletion boards/posix/native_posix/dts_fixup.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@

#define DT_FLASH_DEV_NAME DT_INST_0_ZEPHYR_SIM_FLASH_LABEL
#define DT_UART_0_DEV_NAME DT_ZEPHYR_NATIVE_POSIX_UART_UART_LABEL

2 changes: 0 additions & 2 deletions boards/posix/native_posix/hw_models_top.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,3 @@ void hwm_cleanup(void)
hwtimer_cleanup();
hw_irq_ctrl_cleanup();
}


2 changes: 0 additions & 2 deletions boards/posix/native_posix/irq_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,5 +269,3 @@ void hw_irq_ctrl_timer_triggered(void)
irq_ctrl_timer = NEVER;
irq_raising_from_hw_now();
}


1 change: 0 additions & 1 deletion boards/posix/native_posix/sdl_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
void sdl_handle_events(void);

#endif /* ZEPHYR_BOARD_POSIX_NATIVE_POSIX_SDL_EVENTS_H */

1 change: 0 additions & 1 deletion boards/posix/nrf52_bsim/doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _nrf52_bsim:

NRF52 simulated board (BabbleSim)
Expand Down
1 change: 0 additions & 1 deletion boards/shields/adafruit_2_8_tft_touch_v2/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ References

.. _Adafruit 2.8" TFT Touch Shield v2 website:
https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2

1 change: 0 additions & 1 deletion boards/shields/waveshare_epaper/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ References

.. _Universal e-Paper Raw Panel Driver Shield website:
https://www.waveshare.com/e-paper-shield.htm

1 change: 0 additions & 1 deletion boards/x86/acrn/acrn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ arch: x86
toolchain:
- zephyr
ram: 8192

6 changes: 2 additions & 4 deletions boards/xtensa/odroid_go/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,8 @@ your terminal:
References
**********

.. target-notes::

.. [1] https://wiki.odroid.com/odroid_go/odroid_go
.. _`toolchain`: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#get-started-setup-toolchain
.. _`SDK`: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#get-started-get-esp-idf


.. target-notes::

1 change: 0 additions & 1 deletion boards/xtensa/xt-sim/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,3 @@ References
**********

.. _Xtensa tools: https://ip.cadence.com/support/sdk-evaluation-request

1 change: 0 additions & 1 deletion doc/development_process/api_lifecycle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,3 @@ the release notes, mailing lists, Github issues and pull-requests.
If it's not OK to remove the API, the maintainers will continue to support
migration and update the roadmap with the aim to remove the API in the next
release.

2 changes: 0 additions & 2 deletions doc/development_process/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ Terminology
- upstream: A parent branch the source code is based on. This is the branch you
pull from and push to, basically your upstream.
- LTS: Long Term Support


1 change: 0 additions & 1 deletion doc/development_process/issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ identifiers.

At any time it should be possible to establish the origin of a change and the
reason behind it by following the references in the code.

1 change: 0 additions & 1 deletion doc/guides/bluetooth/bluetooth-qual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ the following documents:
sm-pics.rst
rfcomm-pics.rst
mesh-pics.rst

1 change: 0 additions & 1 deletion doc/guides/bluetooth/gap-pics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -792,4 +792,3 @@ TSPC_GAP_45_1 False (*) Simultaneous BR/EDR and LE Transports - BR/EDR
TSPC_GAP_45_2 False (*) Simultaneous BR/EDR and LE Transports - BR/EDR
Master to the same device (C.1)
============== ============== =======================================

1 change: 0 additions & 1 deletion doc/guides/bluetooth/gatt-pics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,3 @@ Parameter Name Selected Description
TSPC_GATT_8_1 False (*) Support for Multiple ATT bearers from same
device (C.1)
============== =========== ============================================

1 change: 0 additions & 1 deletion doc/guides/bluetooth/l2cap-pics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ TSPC_L2CAP_3_15 False (*) Negotiate and support service type
TSPC_L2CAP_3_16 True Support Multiple Simultaneous LE Data
Channels
================ =========== =======================================

3 changes: 0 additions & 3 deletions doc/guides/bluetooth/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,3 @@ Bluetooth stack.
* Local controller support as a virtual HCI driver

* Verified with multiple popular controllers



1 change: 0 additions & 1 deletion doc/guides/c_library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@ library included with Zephyr:
- toupper()
- vsnprintf()
- vsprintf()

1 change: 0 additions & 1 deletion doc/guides/coverage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,3 @@ which will produce ``sanity-out/coverage/index.html`` with the report.

.. _gcov:
https://gcc.gnu.org/onlinedocs/gcc/Gcov.html

1 change: 0 additions & 1 deletion doc/guides/modules.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _modules:

Modules (External projects)
Expand Down
2 changes: 0 additions & 2 deletions doc/guides/portability/posix.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


POSIX Support
#############

Expand Down
1 change: 0 additions & 1 deletion doc/guides/porting/arch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -613,4 +613,3 @@ Miscellaneous Architecture APIs

.. doxygengroup:: arch-misc
:project: Zephyr

1 change: 0 additions & 1 deletion doc/guides/test/sanitycheck.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _sanitycheck_script:

Sanity Tests
Expand Down
1 change: 0 additions & 1 deletion doc/guides/tools/nordic_segger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,3 @@ References
.. _blacklist Segger devices by editing udev rules: http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools#Device_or_resource_busy_dev_ttyA

.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html

3 changes: 0 additions & 3 deletions doc/guides/tracing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,3 @@ Locking may not be needed if multiple independent channels are available.
E.g. native_posix or board with multi-channel DMA. Lock-free.

``emit(a ## b ## c, thread_id);``



1 change: 0 additions & 1 deletion doc/guides/west/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,3 @@ historical interest only.

.. _west v0.5.x documentation:
https://docs.zephyrproject.org/1.14.0/guides/west/index.html

1 change: 0 additions & 1 deletion doc/guides/west/west-not-found.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ West APIs

The west APIs are not documented since either west was missing or the zephyr
repository was not initialized using west during the documentation build.

1 change: 0 additions & 1 deletion doc/guides/west/zephyr-cmds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ flag::
Additional help about the formatting options can be found by running::

west boards -h

2 changes: 0 additions & 2 deletions doc/reference/bluetooth/connection_mgmt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ API Reference

.. doxygengroup:: bt_conn
:project: Zephyr


1 change: 0 additions & 1 deletion doc/reference/bluetooth/gatt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,3 @@ GATT Client

.. doxygengroup:: bt_gatt_client
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ API Reference
usb/index.rst
usermode/index.rst
runtime_conf/index.rst

1 change: 0 additions & 1 deletion doc/reference/kernel/data_passing/stacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,3 @@ API Reference

.. doxygengroup:: stack_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/memory/pools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,3 @@ API Reference

.. doxygengroup:: mem_pool_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/other/atomic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@ API Reference

.. doxygengroup:: atomic_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/other/fatal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,3 @@ API Reference

.. doxygengroup:: fatal_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/other/float.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@ API Reference

.. doxygengroup:: float_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/scheduling/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,3 @@ for a kernel object, such as a mutex.

Use preemptive threads to give priority to time-sensitive processing
over less time-sensitive processing.

1 change: 0 additions & 1 deletion doc/reference/kernel/synchronization/mutexes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,3 @@ API Reference

.. doxygengroup:: mutex_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/synchronization/semaphores.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ API Reference

.. doxygengroup:: semaphore_apis
:project: Zephyr

1 change: 0 additions & 1 deletion doc/reference/kernel/threads/system_threads.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _system_threads_v2:

System Threads
Expand Down
1 change: 0 additions & 1 deletion doc/reference/kernel/threads/workqueue.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.. _workqueues_v2:

Workqueue Threads
Expand Down
Loading

0 comments on commit 984bfae

Please sign in to comment.