commit | 3a504105f0e4cf32464d596f3b30d23dbfd76520 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:48:05 2016 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Apr 19 07:58:37 2016 +0100 |
tree | 5d62586613609745c1ba769db2118bb81193f0de | |
parent | ed1c9b3c18e33a69da0a911eadf4948ea7e5b5b9 [diff] |
mfd: sm501: 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: Ben Dooks <ben@fluff.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>