gpio_intel: Use a cookie object for gpio interrupt allocation as well.
authorImre Vadász <imre@vdsz.com>
Sat, 30 Apr 2016 20:07:57 +0000 (22:07 +0200)
committerImre Vadász <imre@vdsz.com>
Sun, 1 May 2016 15:09:58 +0000 (17:09 +0200)
commitad9cd0086ccc1b91ba12666fddab6a5835a748bd
tree5ae5c030090da7949e8b2fa671c7502b2b9cfa6e
parent963efb759bfcde56802056358895073b943f1dc6
gpio_intel: Use a cookie object for gpio interrupt allocation as well.

* This tries to improve the gpio_if.m api, e.g. only the interrupt pin
  allocation can legitimately fail. The interrupt setup and teardown
  functions can't really fail for proper input values (and for bogus
  arguments it can just panic).
sys/bus/gpio/gpio_acpi/gpio_acpi.c
sys/bus/gpio/gpio_if.m
sys/bus/gpio/gpio_intel/gpio_intel.c