Files
rockchip-kernel/drivers/gpio
Kevin Cernekee 26f1112695 CHROMIUM: gpio / ACPI: Fix duplicate calls to acpi_gpiochip_*_interrupts()
Commit 4d5b94cf65 ("BACKPORT: gpio / ACPI: Move event handling
registration to gpiolib irqchip helpers") moved the ACPI interrupt
request/free calls into the gpiolib helper functions,
gpiochip_irqchip_add() and acpi_gpiochip_remove().  The former function
is called by pinctrl-pistachio.c, so there is no need to call it from
acpi_gpiochip_request_interrupts() anymore.  And in fact, since the
argument type changed from struct acpi_gpio_chip * to struct gpio_chip *,
the current code is incorrect:

    drivers/gpio/gpiolib-acpi.c: In function 'acpi_gpiochip_add':
    drivers/gpio/gpiolib-acpi.c:386:2: warning: passing argument 1 of 'acpi_gpiochip_request_interrupts' from incompatible pointer type
      acpi_gpiochip_request_interrupts(acpi_gpio);
      ^
    drivers/gpio/gpiolib-acpi.c:218:6: note: expected 'struct gpio_chip *' but argument is of type 'struct acpi_gpio_chip *'
     void acpi_gpiochip_request_interrupts(struct gpio_chip *chip)

BUG=chrome-os-partner:30840
TEST=builds without warnings

Change-Id: I730ae9e3fd31d09edd84596554e4390ab4bb0a06
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/255246
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
2015-03-03 21:39:00 +00:00
..
2013-10-29 18:26:14 -07:00
2013-12-12 14:28:12 +01:00
2012-11-28 11:39:59 -08:00
2013-12-04 14:48:17 +01:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:59 -08:00
2013-06-17 07:47:33 +02:00
2014-04-03 17:15:58 -07:00