]> git.baikalelectronics.ru Git - kernel.git/commit
[media] : cxd2830r: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Dec 2015 13:46:55 +0000 (11:46 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 15:02:13 +0000 (13:02 -0200)
commit3ba6656051f835d7d70f0c1a11808d74842c672d
tree0d072b1b63b279ce0d4b55c5854c8108027d049b
parenta63b354dff87152419587207ef172797cc3c0938
[media] : cxd2830r: 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: Antti Palosaari <crope@iki.fi>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cxd2820r_core.c