diff options
| author | Daniel Scheller <[email protected]> | 2018-02-25 07:31:36 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-03-06 11:13:19 -0500 |
| commit | ee93340e98bc9026dedf6e7483f9f092d1765582 (patch) | |
| tree | 82a2d4903a86ee11a7364a489ea1a05389ce840d /tools/perf/scripts/python/bin | |
| parent | 3262831b4a9a6c0441c94a7d1c378751f462ac92 (diff) | |
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions