From: Kaixu Xia Date: Fri, 9 Jan 2015 23:57:21 +0000 (-0700) Subject: coresight: fix comment in of_coresight.c X-Git-Tag: firefly_0821_release~3680^2~19^2~3^2^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d5804b2d681c49df864b01f4963bb965980368b4;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman (cherry picked from commit f7c55298f17f0bf9d257ea7f2f15cf920248db5b) Signed-off-by: Mathieu Poirier --- 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);