]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: mxs: Get rid of external API call
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 15:02:16 +0000 (17:02 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Sep 2018 06:22:47 +0000 (08:22 +0200)
commit833eacc7b5913da9896bacd30db7d490aa777868
tree199b59d586e45dc2f6a195345d6afa152e280e66
parentd5a4da159ed32034be1c7a3c905159b97eb54c5d
gpio: mxs: Get rid of external API call

The MXS driver was calling back into the GPIO API from
its irqchip. This is not very elegant, as we are a driver,
let's just shortcut back into the gpio_chip .get() function
instead.

This is a tricky case since the .get() callback is not in
this file, instead assigned by bgpio_init(). Calling the
function direcly in the gpio_chip is however the lesser
evil.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Janusz Uzycki <j.uzycki@elproma.com.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxs.c