[media] media-devnode: fix namespace mess
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 23 Mar 2016 14:22:57 +0000 (11:22 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 15 Jun 2016 20:56:06 +0000 (17:56 -0300)
commit163f1e93e995048b894c5fc86a6034d16beed740
tree01c5591efebedb3d2d1caad89ffe66b06daff7d2
parentdc19ed1571dd3882b35e12fdaf50acbcc9b69714
[media] media-devnode: fix namespace mess

Along all media controller code, "mdev" is used to represent
a pointer to struct media_device, and "devnode" for a pointer
to struct media_devnode.

However, inside media-devnode.[ch], "mdev" is used to represent
a pointer to struct media_devnode.

This is very confusing and may lead to development errors.

So, let's change all occurrences at media-devnode.[ch] to
also use "devnode" for such pointers.

This patch doesn't make any functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/media-devnode.c
include/media/media-devnode.h