linux-stable/drivers/media/pci/ngene
Daniel Scheller ee93340e98 media: ngene: deduplicate I2C adapter evaluation
The I2C adapter evaluation (based on chan->number) is duplicated at
several places (tuner_attach_() functions, demod_attach_stv0900() and
cineS2_probe()). Clean this up by wrapping that construct in a separate
function which all users of that can pass the ngene_channel pointer and
get the correct I2C adapter from.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-06 11:13:19 -05:00
..
Kconfig media: ngene: add support for DuoFlex S2 V4 addon modules 2018-03-06 11:12:15 -05:00
Makefile media: cxd2099: move driver out of staging into dvb-frontends 2018-03-06 08:50:18 -05:00
ngene-cards.c media: ngene: deduplicate I2C adapter evaluation 2018-03-06 11:13:19 -05:00
ngene-core.c media: ngene: support STV0367 DVB-C/T DuoFlex addons 2018-03-06 10:59:04 -05:00
ngene-dvb.c media: ngene: convert kernellog printing from printk() to dev_*() macros 2018-03-06 10:48:43 -05:00
ngene-i2c.c media: ngene: constify i2c_algorithm structure 2017-07-20 14:59:58 -04:00
ngene.h media: ngene: add XO2 module support 2018-03-06 11:01:58 -05:00