]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] dvbdev: move indirect links on dvr/demux to a separate function
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 6 Sep 2015 16:28:48 +0000 (13:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:01 +0000 (12:19 -0200)
commit17813e2aa2f745545643df24af8f308bc36a04b0
tree8d9753fe7fd26236cc54d4d0d58ece7df787a357
parentbd3ed12be1e1262adcb733bcf63e5da4d8772774
[media] dvbdev: move indirect links on dvr/demux to a separate function

Cleanup the code a little bit by moving the routine that creates
links between DVR and demux to the I/O entitis into a separate
function.

While here, fix the code to use strncmp() instead of strcmp().

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvbdev.c