[PATCH 0/6] gpio: mockup: rework the testing driver - alternative version

From: Bartosz Golaszewski
Date: Mon Feb 18 2019 - 04:48:11 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

It's very late in the release cycle and we cannot seem to get the irq
subsystem maintainers' ack on the proposed change in the interrupt
simulator. This series contains only the gpio-mockup patches from the
previous submission in order to at least partially track the line's
state and add a way to verify the results of uAPI calls. The interrupts
are fired regardless of their type configuration. This will be fixed
once irq_sim supports it.

Bartosz Golaszewski (6):
gpio: mockup: add locking
gpio: mockup: implement get_multiple()
gpio: mockup: don't create the debugfs link named after the label
gpio: mockup: change the type of 'offset' to unsigned int
gpio: mockup: change the signature of unlocked get/set helpers
gpio: mockup: rework debugfs interface

drivers/gpio/gpio-mockup.c | 188 +++++++++++++++++++++++++++++++------
1 file changed, 161 insertions(+), 27 deletions(-)

--
2.20.1