[PATCH 4/4] pinctrl: sirf: move to use irq_get_handler_data

Linus Walleij linus.walleij at linaro.org
Wed Apr 23 13:17:16 PDT 2014


On Tue, Apr 15, 2014 at 8:43 AM, Barry Song <21cnbao at gmail.com> wrote:

> From: Barry Song <Baohua.Song at csr.com>
>
> we set bank as handler_data, now we can get bank in ISR directly
> instead of looking-up.
>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>

If you want to use some other handler data than the gpiochip,
you should just use irq_set_chained_handler() and
irq_set_handler_data() directly.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list