coresight: fix comment in of_coresight.c
authorKaixu Xia <xiakaixu@huawei.com>
Fri, 9 Jan 2015 23:57:21 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:14 +0000 (05:04 -0800)
Outports is a member of the struct pdata and should be
a better choice.

Signed-off-by: Kaixu Xia <xiakaixu@huawei.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/of_coresight.c

index 8bd524e49518f3fda641d80fceb7dc9e644d05ff..89ebbe29ac97554286da8f307894aea5868a74b1 100644 (file)
@@ -93,7 +93,7 @@ static int of_coresight_alloc_memory(struct device *dev,
        if (!pdata->outports)
                return -ENOMEM;
 
-       /* Children connected to this component via @outport */
+       /* Children connected to this component via @outports */
         pdata->child_names = devm_kzalloc(dev, pdata->nr_outport *
                                          sizeof(*pdata->child_names),
                                          GFP_KERNEL);