[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1420459538-20936-1-git-send-email-xiakaixu@huawei.com>
Date: Mon, 5 Jan 2015 20:05:38 +0800
From: Kaixu Xia <xiakaixu@...wei.com>
To: <mathieu.poirier@...aro.org>
CC: <gregkh@...uxfoundation.org>, <linux-kernel@...r.kernel.org>,
<pratikp@...eaurora.org>, <xiakaixu@...wei.com>,
<kaixu.xia@...aro.org>
Subject: [PATCH] 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@...wei.com>
---
drivers/coresight/of_coresight.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/coresight/of_coresight.c b/drivers/coresight/of_coresight.c
index 8bd524e..89ebbe2 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);
--
1.8.5.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists