commit | 47513c2ff86e2afd345a9aea3c5626f71cf2f4e9 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 08 16:26:28 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 07 00:10:21 2016 +0100 |
tree | 2c4298cac4dcab084accad6786d4fdd11566bbc4 | |
parent | 78d455a2e41fa3de9e1d2d3696cefcb7d6c9c5c4 [diff] |
hid: cp2112: 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: linux-input@vger.kernel.org Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>