]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mockup: change the signature of unlocked get/set helpers
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 23 Jan 2019 08:34:15 +0000 (09:34 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 19 Feb 2019 16:42:29 +0000 (17:42 +0100)
commite027246132a7d51536d59d31ba24fc396910ba69
treee6dfdc6d09ad4adc2976558da34e55e057d71884
parente162d15b010e5152c9be770e2600636c935d528d
gpio: mockup: change the signature of unlocked get/set helpers

The unlocked variants only get called from places where we already have
the pointer to the underlying gpio_mockup_chip structure, so take it
as parameter instead of struct gpio_chip.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mockup.c