diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/gpio_keys_polled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 90df4df58b07..097d7216d98e 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c | |||
@@ -125,7 +125,7 @@ static struct gpio_keys_platform_data *gpio_keys_polled_get_devtree_pdata(struct | |||
125 | device_for_each_child_node(dev, child) { | 125 | device_for_each_child_node(dev, child) { |
126 | struct gpio_desc *desc; | 126 | struct gpio_desc *desc; |
127 | 127 | ||
128 | desc = devm_get_gpiod_from_child(dev, child); | 128 | desc = devm_get_gpiod_from_child(dev, NULL, child); |
129 | if (IS_ERR(desc)) { | 129 | if (IS_ERR(desc)) { |
130 | error = PTR_ERR(desc); | 130 | error = PTR_ERR(desc); |
131 | if (error != -EPROBE_DEFER) | 131 | if (error != -EPROBE_DEFER) |