git: gpio_intel: Use a cookie object for gpio interrupt allocation as well.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun May 1 08:45:11 PDT 2016
commit ad9cd0086ccc1b91ba12666fddab6a5835a748bd
Author: Imre Vadász <imre at vdsz.com>
Date: Sat Apr 30 22:07:57 2016 +0200
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).
Summary of changes:
sys/bus/gpio/gpio_acpi/gpio_acpi.c | 17 ++++---
sys/bus/gpio/gpio_if.m | 13 +++---
sys/bus/gpio/gpio_intel/gpio_intel.c | 89 +++++++++++++++++-------------------
3 files changed, 56 insertions(+), 63 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad9cd0086ccc1b91ba12666fddab6a5835a748bd
--
DragonFly BSD source repository
More information about the Commits
mailing list