Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2721491imj; Mon, 18 Feb 2019 10:56:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IYz6Ok/koytLeWfwqvi7LyJWx4WCvCLn3z3qHfEczWymNjLNsWFRaFF3zcM/aArI1w9SvNv X-Received: by 2002:a63:2bd5:: with SMTP id r204mr20489801pgr.48.1550516170266; Mon, 18 Feb 2019 10:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550516170; cv=none; d=google.com; s=arc-20160816; b=J+DD7lGEax64DLvmAy8TkjY4cVDjxukNMB8Xn06rT5DHuSz8i7dOzdMbXRw9lnP8Dr MjQTfd2nIDgHfaDxsLYerY/egdoUthLfAF5L96DwpSWS37YvUzk2Yg9o17cEoPxMt25I AneC6sZUufsKtjHJc8Pm+iWELX56JDcvKJnEseGUEDpSJtMFNmKVV8tCR/m3iPmtvILl o9GHDtJeynjB2GzMbsHOYe3OfgRMr71V0/lQ/wwvxIkhavIo16iA9nM6y86xCsRUr9CV dpsQ1tr9kRe39ulHpD4Xt4SbrmbqqEv5hvtc8WXWSCpVjbfM8E99mbe3a8g59oE5Vc7Q jeIA== 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=7nyOWzh7UJb8LhrGa3EmKI6lCddHVhK8Aq05w99HYUc=; b=vCM6TSAUC8qWx89n9bEr6yFWza6qKqVbhwD3eG7wI97hqsIIBPt5vY/yIqb1aMY9ac N7F6eFSOZ5RyYrch+PMukr6eX21Z8go5yvSwNkRYSsJJP25NXfAdNazGyFdCNogOpRlg UBiIvbB2Tmp7ZnPX7VhFA099srMOmgAeuEYGy6zppKm/Q+/Xa7qWYNgvehV9RZuaMkWP NmYMJYWR0H5i3jhktj9tcIyW+rwiX0TEILu0VKc1y1rxKeIjWSE4ARV2dMZwrabafaUH N0WP4rl+6l7qjQQ7A2L7UGFYEw7WN1+2tF/eC2sSJgVKEszqWvcg/gv99mdWCqdYc2+N CgXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=WVE2DUAX; 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 35si13666068pgn.278.2019.02.18.10.55.54; Mon, 18 Feb 2019 10:56:10 -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=WVE2DUAX; 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 S2390373AbfBRQxl (ORCPT + 99 others); Mon, 18 Feb 2019 11:53:41 -0500 Received: from merlin.infradead.org ([205.233.59.134]:47236 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730868AbfBRQxl (ORCPT ); Mon, 18 Feb 2019 11:53:41 -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=7nyOWzh7UJb8LhrGa3EmKI6lCddHVhK8Aq05w99HYUc=; b=WVE2DUAXx34E+jF3wKOAsUntO6 54uw23eIPm8zef3vLjTQYa1lYUTKbHO9Cbkp3k219uDz7QDORHHA5m8FKmRre1flPHiN7Nb32ptrX Y/VGShO7Sf9Ldt0fjmjUmm6kIVPq9sKL7/9qfrQMq9PfsOnMdFA5RCiCj31pWeCukaUVdozaxBXLc CqdiLMt6DaRP6zEk8QydGD1dJ5vKgc6eFm14MG4NWuCWdTBLCbVHfDb519GGbZlNKlPzb3PHqK49e 4Bk8T0sWNdBTrGBVZh4HVh/ZqPRpks5lhJZNWV0bxE5I5KSGMlsVguU+wF2cEUBe2Dp5pB7oNmTfz VqiOFTUw==; 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 1gvmAf-00009K-KQ; Mon, 18 Feb 2019 16:53: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> <20190218163648.28987-1-daniel.vetter@ffwll.ch> From: Randy Dunlap Message-ID: Date: Mon, 18 Feb 2019 08:53:32 -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: <20190218163648.28987-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 8:36 AM, Daniel Vetter wrote: > Polish the kerneldoc a bit with suggestions from Randy. > > v2: Randy found another typo: s/compent/component/ > > Cc: Randy Dunlap > Signed-off-by: Daniel Vetter > Cc: Greg Kroah-Hartman > Cc: "Rafael J. Wysocki" > Cc: Daniel Vetter > Cc: Ramalingam C Acked-by: Randy Dunlap Thanks. > --- > 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..532a3a5d8f63 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 component match entry for a typed 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..16de18f473d7 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 component match entry > * @master: device with the aggregate driver > * @matchptr: pointer to the list of component matches > * @compare: compare function to match against all components > -- ~Randy