From 605a7bca7cf39cbfa835022e9c29b6a4bb980281 Mon Sep 17 00:00:00 2001 From: Jin Yao Date: Thu, 15 May 2014 18:28:47 +0300 Subject: [PATCH] pinctrl: baytrail: Register GPIO chip after chip->to_irq is set If chip->to_irq is NULL ACPI GPIO helpers don't register GPIO event handlers thus preventing any ACPI GPIO triggered events. Solve this by calling gpiochip_add() after we have set up drivers chip->to_irq hook. Signed-off-by: Jin Yao Signed-off-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-format-patch failed