]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mockup: increase the number of supported device properties
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 29 Sep 2020 10:10:01 +0000 (12:10 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 30 Sep 2020 08:51:43 +0000 (10:51 +0200)
commitd6b9a74c0a00160032af0597fdeba56c9396e073
treeaa10631d3021f79d8a56abb06fa3c5411d48a47b
parent9f14d4da8d219474942cd23b6c94c81fd2a34b0a
gpio: mockup: increase the number of supported device properties

The driver actually supports 4 properties but we only ever set up up to
three. This will change however in upcoming patches so increase the
number of really (as in: the number the property array can hold)
supported properties to 4.

Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-mockup.c