diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-08 16:26:28 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-01-07 00:10:21 +0100 |
commit | 47513c2ff86e2afd345a9aea3c5626f71cf2f4e9 (patch) | |
tree | 2c4298cac4dcab084accad6786d4fdd11566bbc4 /drivers/leds | |
parent | 78d455a2e41fa3de9e1d2d3696cefcb7d6c9c5c4 (diff) | |
download | linux-47513c2ff86e2afd345a9aea3c5626f71cf2f4e9.tar.gz linux-47513c2ff86e2afd345a9aea3c5626f71cf2f4e9.tar.bz2 linux-47513c2ff86e2afd345a9aea3c5626f71cf2f4e9.zip |
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>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions