Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2719371imj; Mon, 18 Feb 2019 10:53:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IYAmPHyqZBV4fM5M2toUeMXN7yeKLu7IykDyVpPoQ4KWAT3C6ZpJxGfX28YwH7VJGS47muE X-Received: by 2002:a63:5207:: with SMTP id g7mr20371231pgb.253.1550515992985; Mon, 18 Feb 2019 10:53:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550515992; cv=none; d=google.com; s=arc-20160816; b=pTpLQpxUNPf76d2uxqFwzDRfSEa5KNelwKDHJrFmOatub895/y8f3QazpdO3u7sIcV WQUNUa/br+nt/IBerytTVBjy4ItBE2raxE0bdUmSnAZBxyRBvyx/aAZYzH1oJ2+itcxg zucRnDXlZOwxqg1CZFPEE4rYGti5AhWjCebUTSMMhDh6S8KjuGfpHsRftQqNFE6SwMe+ FCDethO5Z8u3DCgv6fBPqhfoCz0tOqOk1zJeFPzFCeJecGKUdfgo5aiIpLYGr7340Vk6 mBvEtQcojXu3LRuXt9lFCDFyRA/S5vod/r5stlz7PdBQkR4kkJPCTYVDqjx7sTinGs/q c3Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=12/BgepHdPMkSN+4ChlSX9dMnpQZdKeGatQFZq6z9P4=; b=rpOKg6OO1qC7TE8BoHe+tnVYz6uYZMYcvhbQCGRnQlvPIoF5TwzsWAl3wYkMA/CgtK vrjUdG4PIbI4E7ORJFUrpSMJ7EEsjMImcbf0vTFCsEUM+hw5TwYS3j3AZ513bl3BUHo5 Y8aSqnF3UVpOpaVM71zT1KKV1r+COJ0xm6EXZ40WBo6pawmzPeB2oh7VpBe75qDD4yNP 25CCOWQDwx0+SdimTQ1b/JbXlB41v4wsq7txQTmiVydB6bNXB+KzHMLxIN1BpRHaXGA7 6jtXj8SU7L/ZECeHkjfKg9VGE7YSPt1BxgRuQvOn0eHgZ14iUKoiLwo1XOKweXF11f5s 4W0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=te9hzEBa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n24si12935607pgv.119.2019.02.18.10.52.57; Mon, 18 Feb 2019 10:53:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=te9hzEBa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389580AbfBRQdo (ORCPT + 99 others); Mon, 18 Feb 2019 11:33:44 -0500 Received: from merlin.infradead.org ([205.233.59.134]:47124 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731238AbfBRQdo (ORCPT ); Mon, 18 Feb 2019 11:33:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=12/BgepHdPMkSN+4ChlSX9dMnpQZdKeGatQFZq6z9P4=; b=te9hzEBaj9JP3pm+rYeWnwYhNM ev9ZPftCT5WpBgz2UA9facaTVmD26Uws9Bmgu9N0vStBtLstyEz9gnWw0qHkC1a25RTqav75KwNN2 vILsdzYy1xmjh2lfLx4tWGHOV5+cEtl5ajgzIjILnrIpVgm6gTBEXi/jqxn+mEL/Avs169vDNh3de 8EXWY4PbKkWH4yAY9+Us007Qg5pRZhLPOkilNyaTuOYSNBAjv9zlD+yVSQQbcsssgw66LIa3mcnv9 L6Ovu+QJCN/eOrzEIce6j/2wXKCuhFuvxJ6rlHZDeW+yQzI7ZiNTKfPzJt1hOtoczXeZStx9YO/01 3cYEDHGQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvlrJ-0008Na-LG; Mon, 18 Feb 2019 16:33:33 +0000 Subject: Re: [PATCH] drivers/component: kerneldoc polish To: Daniel Vetter , DRI Development , LKML Cc: Daniel Vetter , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ramalingam C References: <20190218085242.18845-1-daniel.vetter@ffwll.ch> From: Randy Dunlap Message-ID: Date: Mon, 18 Feb 2019 08:33:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20190218085242.18845-1-daniel.vetter@ffwll.ch> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/18/19 12:52 AM, Daniel Vetter wrote: > Polish the kerneldoc a bit with suggestions from Randy. > Hi Daniel, There are 2 more typos below. With those fixed, you or Greg can add: Acked-by: Randy Dunlap Thanks. > Cc: Randy Dunlap > Signed-off-by: Daniel Vetter > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Cc: Daniel Vetter > Cc: Ramalingam C > -- > Greg, I don't need this in any of the topic branches, best if you > pick this one up into your -next tree directly. > > Cheers, Daniel > --- > drivers/base/component.c | 14 +++++++------- > include/linux/component.h | 2 +- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/base/component.c b/drivers/base/component.c > index 7dbc41cccd58..6954e448f46b 100644 > --- a/drivers/base/component.c > +++ b/drivers/base/component.c > @@ -27,7 +27,7 @@ > * helper fills the niche of aggregate drivers for specific hardware, where > * further standardization into a subsystem would not be practical. The common > * example is when a logical device (e.g. a DRM display driver) is spread around > - * the SoC on various component (scanout engines, blending blocks, transcoders > + * the SoC on various components (scanout engines, blending blocks, transcoders > * for various outputs and so on). > * > * The component helper also doesn't solve runtime dependencies, e.g. for system > @@ -378,7 +378,7 @@ static void __component_match_add(struct device *master, > } > > /** > - * component_match_add_release - add a component match with release callback > + * component_match_add_release - add a component match entry with release callback > * @master: device with the aggregate driver > * @matchptr: pointer to the list of component matches > * @release: release function for @compare_data > @@ -408,7 +408,7 @@ void component_match_add_release(struct device *master, > EXPORT_SYMBOL(component_match_add_release); > > /** > - * component_match_add_typed - add a compent match for a typed component > + * component_match_add_typed - add a compent match entry for a typed component component > * @master: device with the aggregate driver > * @matchptr: pointer to the list of component matches > * @compare_typed: compare function to match against all typed components > @@ -537,11 +537,11 @@ static void component_unbind(struct component *component, > } > > /** > - * component_unbind_all - unbind all component to an aggregate driver > + * component_unbind_all - unbind all components of an aggregate driver > * @master_dev: device with the aggregate driver > * @data: opaque pointer, passed to all components > * > - * Unbinds all components to the aggregate @dev by passing @data to their > + * Unbinds all components of the aggregate @dev by passing @data to their > * &component_ops.unbind functions. Should be called from > * &component_master_ops.unbind. > */ > @@ -619,11 +619,11 @@ static int component_bind(struct component *component, struct master *master, > } > > /** > - * component_bind_all - bind all component to an aggregate driver > + * component_bind_all - bind all components of an aggregate driver > * @master_dev: device with the aggregate driver > * @data: opaque pointer, passed to all components > * > - * Binds all components to the aggregate @dev by passing @data to their > + * Binds all components of the aggregate @dev by passing @data to their > * &component_ops.bind functions. Should be called from > * &component_master_ops.bind. > */ > diff --git a/include/linux/component.h b/include/linux/component.h > index 30bcc7e590eb..8628d4d0aff1 100644 > --- a/include/linux/component.h > +++ b/include/linux/component.h > @@ -98,7 +98,7 @@ void component_match_add_typed(struct device *master, > int (*compare_typed)(struct device *, int, void *), void *compare_data); > > /** > - * component_match_add - add a compent match > + * component_match_add - add a compent match entry component > * @master: device with the aggregate driver > * @matchptr: pointer to the list of component matches > * @compare: compare function to match against all components > -- ~Randy