zephyr/drivers/gpio
Leandro Pereira 732424f065 drivers, net: Clean up semaphore initialization
Change the common "init with 0" + "give" idiom to "init with 1".  This
won't change the behavior or performance, but should decrease the size
ever so slightly.

This change has been performed mechanically with the following
Coccinelle script:

    @@
    expression SEM;
    expression LIMIT;
    expression TIMEOUT;
    @@

    - k_sem_init(SEM, 0, LIMIT);
    - k_sem_give(SEM);
    + k_sem_init(SEM, 1, LIMIT);

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-07-27 15:23:07 -04:00
..
Kconfig cc2650: Add GPIO driver. 2017-06-16 16:18:12 -04:00
Kconfig.atmel_sam3 arch: sam3x: update Kconfig options after move to SAM SoC family tree 2017-05-03 13:51:37 -04:00
Kconfig.cc32xx
Kconfig.cc2650 cc2650: Add GPIO driver. 2017-06-16 16:18:12 -04:00
Kconfig.cmsdk_ahb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.dw doc: spelling fixes in Kconfig files 2017-06-12 19:40:51 -04:00
Kconfig.fe310 gpio: added support for the SiFive Freedom E310 GPIO driver 2017-04-02 15:15:25 +00:00
Kconfig.mcux gpio: mcux: Revert to older GPIO device names as were used for Kinetis. 2017-02-28 11:18:32 +00:00
Kconfig.mmio32 spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
Kconfig.nrf5 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.pcal9535a spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
Kconfig.pulpino license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.qmsi license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.sch license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stm32 gpio: stm32: Add support for ports I to K 2017-03-27 09:05:57 -05:00
Makefile cc2650: Add GPIO driver. 2017-06-16 16:18:12 -04:00
gpio_atmel_sam3.c arch: sam3x: Use ASF library 2017-05-19 10:06:48 -04:00
gpio_cc32xx.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_cc2650.c drivers: gpio: Fix Coverity static scan issues 2017-07-20 11:50:51 -05:00
gpio_cmsdk_ahb.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_cmsdk_ahb.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_dw.c drivers/gpio: Use ifdef relevantly in DW drivers 2017-04-21 16:34:53 +00:00
gpio_dw.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_dw_registers.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_fe310.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_mcux.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_mmio32.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_nrf5.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_pcal9535a.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_pcal9535a.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_pulpino.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
gpio_qmsi.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
gpio_qmsi_ss.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
gpio_sch.c gpio_sch: use k_thread_create() 2017-05-11 20:24:22 -04:00
gpio_sch.h drivers: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
gpio_stm32.c stm32: clean up after completion of transition to ll Clock control 2017-06-02 14:11:13 -04:00
gpio_stm32.h drivers: pinmux: stm32: Clean up after rework 2017-07-26 15:16:52 -05:00
gpio_utils.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00