[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)
commit27524ff8cd6c28ea3735f80f0374e0fc5494768f
tree0d072b1b63b279ce0d4b55c5854c8108027d049b
parent7655a3aea2ca14b9d34af929304f3c08140cc91c
[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