commit | 2a6643437083c4dc28169a706099cd22769be1f5 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 16:42:58 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 07 00:11:20 2016 +0100 |
tree | a1e1bddeb7f9e42e7c78e26ea6b30acfdcb1fafa | |
parent | 47513c2ff86e2afd345a9aea3c5626f71cf2f4e9 [diff] |
leds: tca6507: 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: Riku Voipio <riku.voipio@iki.fi> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: linux-leds@vger.kernel.org Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>