[media] media: Use single quotes to quote entity names
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Dec 2016 15:22:29 +0000 (13:22 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 13:29:23 +0000 (11:29 -0200)
Instead of double quotes, use single quotes to quote entity names. Using
single quotes is consistent with the English language and is also in line
with the practices across the kernel.

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

index 6a2fadb16b5aa39e91d42357457eadc563dc25dd..a9998b30143fe74dcb2f7301e89349c39a2beca3 100644 (file)
@@ -440,7 +440,7 @@ __must_check int __media_pipeline_start(struct media_entity *entity,
                        ret = entity->ops->link_validate(link);
                        if (ret < 0 && ret != -ENOIOCTLCMD) {
                                dev_dbg(entity->graph_obj.mdev->dev,
-                                       "link validation failed for \"%s\":%u -> \"%s\":%u, error %d\n",
+                                       "link validation failed for '%s':%u -> '%s':%u, error %d\n",
                                        link->source->entity->name,
                                        link->source->index,
                                        entity->name, link->sink->index, ret);
@@ -454,7 +454,7 @@ __must_check int __media_pipeline_start(struct media_entity *entity,
                if (!bitmap_full(active, entity->num_pads)) {
                        ret = -ENOLINK;
                        dev_dbg(entity->graph_obj.mdev->dev,
-                               "\"%s\":%u must be connected by an enabled link\n",
+                               "'%s':%u must be connected by an enabled link\n",
                                entity->name,
                                (unsigned)find_first_zero_bit(
                                        active, entity->num_pads));