lkml.org 
[lkml]   [2015]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] coresight: fix comment in of_coresight.c
From
On 5 January 2015 at 05:05, Kaixu Xia <xiakaixu@huawei.com> wrote:
> Outports is a member of the struct pdata and should be
> a better choice.
>
> Signed-off-by: Kaixu Xia <xiakaixu@huawei.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
>

Applied - thanks.


\
 
 \ /
  Last update: 2015-01-06 22:01    [W:0.049 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site