Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7c55298 authored by Kaixu Xia's avatar Kaixu Xia Committed by Greg Kroah-Hartman
Browse files

coresight: fix comment in of_coresight.c



Outports is a member of the struct pdata and should be
a better choice.

Signed-off-by: default avatarKaixu Xia <xiakaixu@huawei.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c61c4b5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);