Commit 552636be authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: devnode: Rename mdev argument as devnode

Historically, mdev argument name was being used on both struct
media_device and struct media_devnode. Recently most occurrences of mdev
referring to struct media_devnode were replaced by devnode, which makes
more sense. Fix the last remaining occurrence.

Fixes: 163f1e93 ("[media] media-devnode: fix namespace mess")
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 10e81bcd
......@@ -537,9 +537,9 @@ static DEVICE_ATTR(model, S_IRUGO, show_model, NULL);
* Registration/unregistration
*/
static void media_device_release(struct media_devnode *mdev)
static void media_device_release(struct media_devnode *devnode)
{
dev_dbg(mdev->parent, "Media device released\n");
dev_dbg(devnode->parent, "Media device released\n");
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment