Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2719946imj; Mon, 18 Feb 2019 10:54:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IY70SVQLsydXAR78qGu6qA+Ba6TTq9lS915lM23bIVvRFxgser7Wiw473OeG4aqsaF6RhW0 X-Received: by 2002:a62:ab04:: with SMTP id p4mr25523787pff.142.1550516041087; Mon, 18 Feb 2019 10:54:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550516041; cv=none; d=google.com; s=arc-20160816; b=Ay87xKkv6nT43FZwztazgc5PP0xdQWOt8uR90bEB9NsWH52ltgt1B59MOonqDgbfzp 9nuMDi1TmTgqdnChQsHe2y9pcf+2V8bA4lNPjnVHyILQrtWyHORQioG8lMkCStfedAOy 7LsLhZUqBFQQnjZEWco6D1JCO+/rgrr3tyH0TPNY8H9PmxDz3s1mNiC4DXmy9NnqvN+j D8Ahu0hv4rM7gPIpHAiyEBGCodFY3S4vB1mw4WmIY/BZ6b8F0tPrYhBi+HmJlERrnWLP /7+3UIASHkMmvj4Q3Et8MAp72dVYxOG+4dZloareFea/ZCHkq+nvp3MRgeT/xM3JSMx8 FWyA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Jb7xRsjvZ9Wi6wUmflywBCpxpmZ2rI3iyrcwl2Wo6/g=; b=rYyyy9f9MzSmbrGqaGBwzmLIjX8symt59dosUi28aK97c3ZMIeDR69WK2yHLXVfWhL /B58AmbzNdzOX7gO2S8R8XxjsbBJ61aTY/AgI1e4KCjzwZ7cfndV4fHODYOCFR2fdTz1 Y9xdFZsbqiS3WF1cOGt3Uqosd41l0V//+AMwm/UCyNVsWB6TEflJTt9Nb4fQ5f1jxqBD S3UO7geCA4Dx8r7CM+E/S4z/2QFPFBjoA9f8pY4lADyJCcLGLWWVJZKYg3+lORXPYYVA 8ngOzSLkRNqRr9vrw23npG1ZbV6ecCs1rTlRJ9/8dCuNPN8RYfmIvo45Yq6+oPpC6T6y 3n+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=jcvdRXBi; 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 66si13961380pfk.209.2019.02.18.10.53.45; Mon, 18 Feb 2019 10:54:01 -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=pass header.i=@ffwll.ch header.s=google header.b=jcvdRXBi; 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 S2389780AbfBRQg6 (ORCPT + 99 others); Mon, 18 Feb 2019 11:36:58 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35815 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389770AbfBRQg5 (ORCPT ); Mon, 18 Feb 2019 11:36:57 -0500 Received: by mail-ed1-f67.google.com with SMTP id g19so5363934edp.2 for ; Mon, 18 Feb 2019 08:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Jb7xRsjvZ9Wi6wUmflywBCpxpmZ2rI3iyrcwl2Wo6/g=; b=jcvdRXBiHJlRaVNLOpdg85jL/N1yQs4tdH/tMpbH6tjSLY2A4MaxbLaMDbOse9ah9Q 26RxKv4eRUm73mMkoYetasSgN6aTbn4hCqyMxlDNj0vRCkFYV2bRWEOG1nXCY/XWugJz ZkvxS3WKhOxmtNK7wA4FYFogLmH20e/kzQV7U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Jb7xRsjvZ9Wi6wUmflywBCpxpmZ2rI3iyrcwl2Wo6/g=; b=JtTPk3BzadSMIXUmt9+wrV3rN6GljF6DDGhqBsBl+fPayW448BXGKemwm8QYategn5 D/vax/OKQh7+b23lbhFrtvXkQSNYS97M2vUtt6kKDiMn5FZskXb72+vEphP8FvB3P/ua 838oDvVaedvo8dF7bIGPW9CK1Ror3Ql+I6HyHesVfeBVs0IQOxdvXq+KKSbsYuN7lwhg 9rd6AfiyMfGtvx49/oZ+YR4kdOI019x44T2iY0pAalf6SrC2Kbz8EuG3ezhULFwXZv5b HVDTs6zXSoPMkXf3nrtDg6nI5Q5GSOr/ChTuI0wNxWAXvxEbDiY1AXvSOuHGg0hWFbFY tGOw== X-Gm-Message-State: AHQUAuaUNTPwnC7cFVuBa3M+oOyrfEdIBQsDSSY/AMUTBf9OSKxChXPi 8QqPasawzC7myJdFcT8jl/UcKJO49jg5dw== X-Received: by 2002:a17:906:d1c4:: with SMTP id bs4mr17162809ejb.205.1550507815630; Mon, 18 Feb 2019 08:36:55 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id o37sm4226476edc.32.2019.02.18.08.36.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 08:36:54 -0800 (PST) From: Daniel Vetter To: DRI Development , LKML Cc: Daniel Vetter , Randy Dunlap , Daniel Vetter , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ramalingam C Subject: [PATCH] drivers/component: kerneldoc polish Date: Mon, 18 Feb 2019 17:36:48 +0100 Message-Id: <20190218163648.28987-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218085242.18845-1-daniel.vetter@ffwll.ch> References: <20190218085242.18845-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.20.1