]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/gpio/driver.h
gpio: drop broken to_gpio_irq_chip() helper
[linux.git] / include / linux / gpio / driver.h
index f70d976e1395579aa450ac00f46904dd15206f3f..9c8d5d491680c95c0c2229496b86fe22a0ad7869 100644 (file)
@@ -166,11 +166,6 @@ struct gpio_irq_chip {
         */
        void            (*irq_disable)(struct irq_data *data);
 };
-
-static inline struct gpio_irq_chip *to_gpio_irq_chip(struct irq_chip *chip)
-{
-       return container_of(chip, struct gpio_irq_chip, chip);
-}
 #endif
 
 /**