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)
commite09313ce7ea1706d1642c7d5af103915e69fc6d0
treee6dfdc6d09ad4adc2976558da34e55e057d71884
parent83336668b94eb44ecd78a0b7840e43f0859e05cb
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