zephyr/drivers/i2c
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 i2c: mcux: Convert to supporting device tree 2017-07-19 14:28:08 -05:00
Kconfig.gpio i2c: i2c_gpio: Driver for software driven I2C using GPIO lines 2017-04-28 15:26:40 -05:00
Kconfig.sbcon i2c: i2c_sbcon: Driver for ARM's SBCon 2-wire serial interface 2017-05-03 13:51:37 -04:00
Makefile drivers: i2c: stm32 LL F1/F4 (v1) STM32 F3/L4X (v2) 2017-07-01 08:36:51 -04:00
i2c_atmel_sam3.c i2c: remove I2C Slave Read config 2017-07-07 10:01:38 -05:00
i2c_bitbang.c i2c: remove I2C Slave Read config 2017-07-07 10:01:38 -05:00
i2c_bitbang.h i2c: bitbang: Add library for software driven I2C 2017-04-28 15:26:39 -05:00
i2c_dw.c i2c: remove I2C Slave Read config 2017-07-07 10:01:38 -05:00
i2c_dw.h
i2c_dw_registers.h
i2c_gpio.c i2c: i2c_gpio: Driver for software driven I2C using GPIO lines 2017-04-28 15:26:40 -05:00
i2c_ll_stm32.c i2c: stm32: Update driver to get I2C port base address from DT 2017-07-19 14:28:08 -05:00
i2c_ll_stm32.h drivers: i2c: stm32 LL F1/F4 (v1) STM32 F3/L4X (v2) 2017-07-01 08:36:51 -04:00
i2c_ll_stm32_v1.c drivers: i2c: stm32 LL F1/F4 (v1) STM32 F3/L4X (v2) 2017-07-01 08:36:51 -04:00
i2c_ll_stm32_v2.c i2c: stm32: fix build issue 2017-07-06 09:53:00 -05:00
i2c_mcux.c i2c: mcux: Convert to supporting device tree 2017-07-19 14:28:08 -05:00
i2c_nrf5.c i2c: remove I2C Slave Read config 2017-07-07 10:01:38 -05:00
i2c_qmsi.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
i2c_qmsi_ss.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
i2c_sbcon.c i2c: i2c_sbcon: Driver for ARM's SBCon 2-wire serial interface 2017-05-03 13:51:37 -04:00
twihs_sam.c i2c: remove I2C Slave Read config 2017-07-07 10:01:38 -05:00