linux-sg2042/include/linux/gpio
Linus Walleij 24efd94bc3 gpio: mmio: Make pin2mask() a private business
The vtable call pin2mask() was introducing a vtable function call
in every gpiochip callback for a generic MMIO GPIO chip. This was
not exactly efficient. (Maybe link-time optimization could get rid of
it, I don't know.)

After removing all external calls into this API we can make it a
boolean flag in the struct gpio_chip call and sink the function into
the gpio-mmio driver yielding encapsulation and potential speedups.

Cc: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-10-25 11:25:41 +02:00
..
consumer.h gpio: Introduce ->get_multiple callback 2017-10-19 22:32:39 +02:00
driver.h gpio: mmio: Make pin2mask() a private business 2017-10-25 11:25:41 +02:00
gpio-reg.h gpio: gpio-reg: add irq mapping for gpio-reg users 2017-03-24 14:05:00 +01:00
machine.h gpio: Fix loose spelling 2017-10-20 09:37:32 +02:00