commit | dced14675818bc9627febcc3159ffc1a0d88199d | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 16:39:20 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 07 00:11:30 2016 +0100 |
tree | da367bebb6001685b9fa2c444ab83848a13a2e6d | |
parent | 2a6643437083c4dc28169a706099cd22769be1f5 [diff] |
leds: pca9532: 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>