zephyr/drivers
Kuo-Lang Tseng c0a546ed33 drivers: QMSI AON counter: Simplify driver reentrancy code
With the use of the IS_ENABLED macro
(https://gerrit.zephyrproject.org/r/#/c/9882), the driver
reentrancy code is simplified:

The original const variable which used to serve the purpose of
making the build to compile out the reentrancy code when the
reentrancy configuration flag is not enabled is no longer
needed as the use of the IS_ENABLED macro achieves the same result.
Also the original 3 wrapper functions around semaphores API are
not necessary; instead, just use the semaphore API directly.

Jira: ZEP-1251

Change-Id: I23552b77d19044dc94de443018759cb3ec10a52b
Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
2017-01-17 19:04:46 +00:00
..
adc drivers: adc108s102: use unified kernel 2016-12-22 01:22:09 +00:00
aio drivers: aio: remove aio disabling before invoking callback 2017-01-07 14:14:29 +00:00
bluetooth Bluetooth: Create separate bt_recv_prio() API 2017-01-05 08:49:17 +02:00
clock_control clock/stm32: add STM32F107 reset and clock control 2017-01-12 09:46:27 -06:00
console legacy: Move TICKS_UNLIMITED -> K_FOREVER 2017-01-17 19:03:35 +00:00
counter drivers: QMSI AON counter: Simplify driver reentrancy code 2017-01-17 19:04:46 +00:00
dma drivers: dma: update to unified kernel 2016-11-09 18:38:57 -08:00
ethernet ethernet: Rename ksdk to mcux 2017-01-12 09:46:26 -06:00
flash flash: Rename ksdk to mcux 2017-01-12 09:46:26 -06:00
gpio gpio: added support for the pulpino GPIO controller driver 2017-01-13 19:57:03 +00:00
grove sensor: remove sensor value type 2017-01-15 01:09:33 +00:00
i2c i2c: Rename ksdk to mcux 2017-01-12 09:46:26 -06:00
ieee802154 ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
interrupt_controller arcv2_irq: Add power management suspend/resume 2016-12-15 12:49:31 +00:00
ipm drivers: Remove legacy nanokernel.h include 2016-12-04 14:59:37 -06:00
pci drivers: Remove legacy nanokernel.h include 2016-12-04 14:59:37 -06:00
pinmux pinmux: Remove the k64 pinmux driver 2017-01-12 09:46:28 -06:00
pwm logging: move sys_log to subsys/logging 2016-12-19 19:58:39 +00:00
random legacy: use k_cycle_get_32 instead of legacy sys_cycle_get_32 2017-01-17 19:03:34 +00:00
rtc rtc: qmsi: Fix wrong comment in driver init 2016-12-21 20:06:18 +00:00
sensor legacy: use k_cycle_get_32 instead of legacy sys_cycle_get_32 2017-01-17 19:03:34 +00:00
serial serial: added support for the riscv-qemu UART driver 2017-01-13 19:56:24 +00:00
shared_irq drivers: Remove legacy nanokernel.h include 2016-12-04 14:59:37 -06:00
slip drivers: eliminate nano/micro kernel usage 2016-12-21 18:45:02 +00:00
spi spi_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep 2016-12-23 16:49:23 +00:00
timer legacy: Move TICKS_UNLIMITED -> K_FOREVER 2017-01-17 19:03:35 +00:00
usb drivers/usb: Use the right data-type 2016-12-21 12:54:53 +00:00
watchdog watchdog: Add driver for CMSDK APB WDOG 2016-12-06 10:31:45 -06:00
Kconfig drivers: cc2520: Add a new IP stack ready adaptation of CC2520 driver 2016-12-02 12:40:18 +02:00
Makefile net: Make native IP stack the default 2016-12-02 12:41:17 +02:00