diff options
Diffstat (limited to 'drivers/input/misc/soc_button_array.c')
| -rw-r--r-- | drivers/input/misc/soc_button_array.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c index 735604753568..79cc0f79896f 100644 --- a/drivers/input/misc/soc_button_array.c +++ b/drivers/input/misc/soc_button_array.c | |||
| @@ -55,7 +55,7 @@ static int soc_button_lookup_gpio(struct device *dev, int acpi_index) | |||
| 55 | struct gpio_desc *desc; | 55 | struct gpio_desc *desc; |
| 56 | int gpio; | 56 | int gpio; |
| 57 | 57 | ||
| 58 | desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index); | 58 | desc = gpiod_get_index(dev, KBUILD_MODNAME, acpi_index, GPIOD_ASIS); |
| 59 | if (IS_ERR(desc)) | 59 | if (IS_ERR(desc)) |
| 60 | return PTR_ERR(desc); | 60 | return PTR_ERR(desc); |
| 61 | 61 | ||
| @@ -214,7 +214,6 @@ static struct platform_driver soc_button_driver = { | |||
| 214 | .remove = soc_button_remove, | 214 | .remove = soc_button_remove, |
| 215 | .driver = { | 215 | .driver = { |
| 216 | .name = KBUILD_MODNAME, | 216 | .name = KBUILD_MODNAME, |
| 217 | .owner = THIS_MODULE, | ||
| 218 | .acpi_match_table = ACPI_PTR(soc_button_acpi_match), | 217 | .acpi_match_table = ACPI_PTR(soc_button_acpi_match), |
| 219 | }, | 218 | }, |
| 220 | }; | 219 | }; |
