aboutsummaryrefslogtreecommitdiff
path: root/drivers/coresight
diff options
context:
space:
mode:
authorKaixu Xia <xiakaixu@huawei.com>2015-01-09 16:57:21 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2015-03-02 11:34:10 -0700
commitd5804b2d681c49df864b01f4963bb965980368b4 (patch)
treee0dffbbceca3f104900e54bd60ddee2b4d0088d4 /drivers/coresight
parent1e3e80795e1e1824509fd6adc6aecefcc76689bb (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> (cherry picked from commit f7c55298f17f0bf9d257ea7f2f15cf920248db5b) Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/coresight')
-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);