]> 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)
commitdc833afd48c7b13a4d992d128b16a47c17e84e4e
treee6dfdc6d09ad4adc2976558da34e55e057d71884
parenta04e8fc4ec70580d1b9de96b3c7f3b48bf2b09fc
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