zephyr/drivers
Tomasz Bursztyka fea1c49ba2 gpio: Improve the public API to handle multi callbacks
Many sub-systems might require to set a callback on different pins.
Thus enabling it via changing the API.

It is also possible to retrieve private-data in the callback handler
using CONTAINER_OF() macro (include/misc/util.h).

Former API is still available, and is emulated through the new one.
Using both should not be a problem as it's using new API calls.
However, it's now better to start using the new API.

Change-Id: Id16594202905976cc524775d1cd3592b54a84514
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-22 22:15:12 -04:00
..
adc qmsi: adc: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
aio qmsi: aio: use built-in qmsi driver 2016-04-22 20:46:29 -04:00
bluetooth qmsi: uart: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
clock_control stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X 2016-04-18 21:24:58 +00:00
console console: add hook for debug server to handle outgoing characters 2016-04-16 05:29:20 +00:00
counter qmsi: aon_counters: use built-in qmsi driver 2016-04-22 20:46:29 -04:00
ethernet ethernet/dw: remove kconfigs that are SoC specific 2016-04-07 00:58:57 +00:00
flash qmsi: flash: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
gpio gpio: Improve the public API to handle multi callbacks 2016-04-22 22:15:12 -04:00
grove grove/lcd_rgb: assign magic number to driver_api 2016-04-15 22:07:34 +00:00
i2c power_mgmt: Sample usage of device_xxx__busy() APIs 2016-04-23 02:14:21 +00:00
ieee802154 cc2520: Properly start and stop the device 2016-04-14 07:49:23 +00:00
interrupt_controller stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X 2016-04-18 21:24:58 +00:00
ipm ipm: convert to use DEVICE_AND_API_INIT() 2016-04-15 22:06:16 +00:00
pci kconfig: use menuconfig for PCI options 2016-03-29 01:31:52 +00:00
pinmux qmsi: pinmux: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
pwm qmsi: pwm: use built-in qmsi driver 2016-04-22 20:46:29 -04:00
qmsi qmsi: use QMSI_LIBRARY instead of QMSI_DRIVERS 2016-04-22 20:55:36 -04:00
random
rtc qmsi: rtc: use built-in qmsi driver 2016-04-22 20:46:28 -04:00
sensor sensor: bmi160: switch to the new logging API 2016-04-21 14:16:15 +00:00
serial qmsi: uart: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
shared_irq refactor common driver initialization priorities 2016-03-28 15:58:29 -07:00
spi qmsi: spi: use built-in qmsi driver 2016-04-22 20:55:36 -04:00
timer power_mgmt: Make names consistent with new RFC 2016-03-26 14:35:11 -04:00
watchdog qmsi: watchdog: use built-in qmsi driver 2016-04-22 20:46:29 -04:00
Kconfig drivers: Renaming directory "802.15.4" into "ieee802154" 2016-04-07 17:24:55 +00:00
Makefile qmsi: use QMSI_LIBRARY instead of QMSI_DRIVERS 2016-04-22 20:55:36 -04:00