[media] media: Use a macro to interate between all interfaces
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 23 Aug 2015 10:51:22 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:53 +0000 (12:18 -0200)
commitcf975a4b40ec9a947dae614b23128f3984a2d324
treea9103965b4889a823ee172ec21607b60610f461d
parentc398bb6441949bd1f2acf5072116ecba143df03b
[media] media: Use a macro to interate between all interfaces

Just like we do with entities, use a similar macro for the
interfaces loop.

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