zephyr/drivers/pwm
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 drivers: pwm: Add nRF5x GPIOTE based PWM driver 2017-04-14 01:53:07 +00:00
Kconfig.dw license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.k64 spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
Kconfig.nrf5_sw spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
Kconfig.pca9685 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.stm32 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile drivers: pwm: Add nRF5x GPIOTE based PWM driver 2017-04-14 01:53:07 +00:00
pwm_dw.c drivers: pwm: remove deprecated PWM API usage. 2017-05-19 18:38:01 -04:00
pwm_k64_ftm.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
pwm_k64_ftm.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
pwm_nrf5_sw.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
pwm_pca9685.c drivers: pwm: remove deprecated PWM API usage. 2017-05-19 18:38:01 -04:00
pwm_pca9685.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
pwm_qmsi.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
pwm_stm32.c stm32: clean up after completion of transition to ll Clock control 2017-06-02 14:11:13 -04:00
pwm_stm32.h stm32: clean up after completion of transition to ll Clock control 2017-06-02 14:11:13 -04:00