• Linus Walleij's avatar
    gpio/pinctrl: sunxi: stop poking around in private vars · 6cee3821
    Linus Walleij authored
    This kind of hacks disturbs the refactoring of the gpiolib.
    
    The descriptor table belongs to the gpiolib, if we want to know
    something about something in it, use or define the proper accessor
    functions. Let's add this gpiochip_lins_is_irq() to do what the
    sunxi driver is trying at so we can privatize the descriptors
    properly.
    
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Chen-Yu Tsai <wens@csie.org>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    6cee3821
driver.h 11.4 KB