summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKaixu Xia <xiakaixu@huawei.com>2015-01-09 16:57:21 -0700
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:02:29 -0500
commitbb5b6e063d35c3e3cfb77f49fb46ab5f83ae7ebc (patch)
treea68b30fcc76488cdae4bde5fb281fb35d8c17841 /drivers
parent20d51219d0146b3b25e2a3a8f9c554dea6286dbb (diff)
coresight: fix comment in of_coresight.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/coresight/of_coresight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/coresight/of_coresight.c b/drivers/coresight/of_coresight.c
index 8bd524e49518..89ebbe29ac97 100644
--- a/drivers/coresight/of_coresight.c
+++ b/drivers/coresight/of_coresight.c
@@ -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);