media: devnode: Rename mdev argument as devnode
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 13 Jul 2017 15:23:49 +0000 (11:23 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:11:40 +0000 (15:11 -0400)
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: 163f1e93e9950 ("[media] media-devnode: fix namespace mess")

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/media-device.c

index c51e2e5636f3d006cf99c2485debb4d1f2eff93d..fce91b543c14cb0851c9a9efdbba552a665336d2 100644 (file)
@@ -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");
 }
 
 /**