diff options
author | Kaixu Xia <xiakaixu@huawei.com> | 2015-01-09 16:57:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-12 05:04:14 -0800 |
commit | f7c55298f17f0bf9d257ea7f2f15cf920248db5b (patch) | |
tree | a2156845d24a6c346b480b9f35f525adff524173 /drivers/coresight | |
parent | c61c4b5dd2c6b5dbf0f7e299db1e8411ef590f5c (diff) | |
download | linux-stable-f7c55298f17f0bf9d257ea7f2f15cf920248db5b.tar.gz linux-stable-f7c55298f17f0bf9d257ea7f2f15cf920248db5b.tar.bz2 linux-stable-f7c55298f17f0bf9d257ea7f2f15cf920248db5b.zip |
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/coresight')
-rw-r--r-- | drivers/coresight/of_coresight.c | 2 |
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); |