teev: small cleanup & create separate function, get_channels()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>