gpio: mockup: use irq_sim
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 14 Aug 2017 11:20:56 +0000 (13:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:12:30 +0000 (00:12 +0200)
commitb4c495f03ae3d332e3304eb62b4748b31f1170dd
treeac2975915c1b81ebec6fec9c6b16566302aa2448
parent4342ec5fba2bc9e6654259c5d891999a7592d9fa
gpio: mockup: use irq_sim

Shrink the driver by removing the code dealing with dummy interrupts
and replacing it with calls to the irq_sim API.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-mockup.c