]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fb9df8d446b8bcde4f64fd977e4d28ed7c28055
treeac2975915c1b81ebec6fec9c6b16566302aa2448
parentcecb88fdbe730f155c06ab60cc302eae2ccb8f2a
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