diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-03-09 09:58:30 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-03-09 10:01:04 -0800 |
commit | a01cd17000a4eb35060666f181f1d46832b59030 (patch) | |
tree | 43e8d65b869a3cb34c10159e5467e53d1c80d62b /drivers/gpio/gpio-spear-spics.c | |
parent | 9b13a4ca8d2c44ca659d8df65f15c48c2e9b9316 (diff) |
Input: soc_button_array - use NULL for GPIO connection ID
The gpiolib-acpi code is becoming more strict and connection-IDs
may only be used with devices which have a _DSD with matching IDs
in there. Since the soc_button_array ACPI binding is pure index
based pass in NULL as connection-ID to avoid the more strict cheks
resulting in gpiod_count and gpiod_get_index not returning any gpios.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/gpio/gpio-spear-spics.c')
0 files changed, 0 insertions, 0 deletions