gpio_acpi: Turn this into a child device of gpio_intel.
authorImre Vadász <imre@vdsz.com>
Wed, 11 May 2016 20:11:05 +0000 (22:11 +0200)
committerImre Vadász <imre@vdsz.com>
Sun, 29 May 2016 16:44:58 +0000 (18:44 +0200)
commitc9955ddcf88eef025ad2700358e13e835e3ca1e8
tree4e6717373315bd49c452c386bd653f1a2db979e1
parentd56572d4c91ad8e80f65eb6d78dee9a963fd0ad9
gpio_acpi: Turn this into a child device of gpio_intel.

* This makes gpio_intel much more independent from gpio_acpi.

* Less adjustments needed in gpio drivers for using gpio_acpi.

* Some slight cleanup, and refactoring turning device_t args to
  struct gpio_acpi_softc * args.
sys/bus/gpio/gpio_acpi/gpio_acpi.c
sys/bus/gpio/gpio_acpi/gpio_acpivar.h
sys/bus/gpio/gpio_intel/gpio_cherryview.c
sys/bus/gpio/gpio_intel/gpio_intel.c
sys/bus/gpio/gpio_intel/gpio_intel_var.h