[media] cx231xx: add wrapper to get the i2c_adapter pointer
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 2 Oct 2014 05:20:59 +0000 (02:20 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 19:18:22 +0000 (17:18 -0200)
commitc3c3f1ae8bab74c99fa211c76b035a41523e83dd
tree3acfa168d161401c8004de2767fa52711380c1f9
parentd032ca1283b68446df0adbec4561463b3f0aa147
[media] cx231xx: add wrapper to get the i2c_adapter pointer

This is a preparation for mapping I2C_1_MUX_1 and I2C_1_MUX_3 later to the seperate
muxed i2c adapters.

Map mux adapters to I2C_1 for now.

Add local variables for i2c_adapters in dvb_init to get line lengths
shorter.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/cx231xx/cx231xx-i2c.c
drivers/media/usb/cx231xx/cx231xx-input.c
drivers/media/usb/cx231xx/cx231xx.h