commit | 18992d4ee577838e0fa006bad46d83cafccffbb3 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Dec 04 15:31:31 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:03 2016 +0100 |
tree | 4d40f0399f2e23d14f79aa5d2a148f14f89ca5b0 | |
parent | fb7228879a5a6552c9cd91561ca7c9b565a102aa [diff] |
gpio: arizona: use gpiochip data pointer This makes the driver use the data pointer added to the gpio_chip to store a pointer to the state container instead of relying on container_of(). Cc: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Cc: Mark Brown <broonie@kernel.org> Reviewed-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>