diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2018-02-25 15:31:36 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 19:13:19 +0300 |
commit | ee93340e98bc9026dedf6e7483f9f092d1765582 (patch) | |
tree | 82a2d4903a86ee11a7364a489ea1a05389ce840d /arch/um/Kconfig.common | |
parent | 3262831b4a9a6c0441c94a7d1c378751f462ac92 (diff) | |
download | linux-ee93340e98bc9026dedf6e7483f9f092d1765582.tar.xz |
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>
Diffstat (limited to 'arch/um/Kconfig.common')
0 files changed, 0 insertions, 0 deletions