The first patch gets the driver stop referencing platform_data after .probe exits. And the second patch adds the actual device tree probe support for the driver. Shawn Guo (2): Input: gpio-keys: do not reference platform_data after .probe exits Input: gpio-keys: add device tree probe support Documentation/devicetree/bindings/gpio/key.txt | 57 +++++++++++ drivers/input/keyboard/gpio_keys.c | 128 +++++++++++++++++++----- 2 files changed, 161 insertions(+), 24 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html