Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp332676pxj; Fri, 28 May 2021 05:13:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxBmC+vHJ4mE5ukzCrcjcNC89vt4JZvyzDTQtye3GsVgnD5Au8oK4uaynZa+Y+T5gJ7KSt X-Received: by 2002:a02:9621:: with SMTP id c30mr8379684jai.113.1622203983687; Fri, 28 May 2021 05:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622203983; cv=none; d=google.com; s=arc-20160816; b=wMa5xkWG0mSGBleCJac7IWOSGWEfyeUMJw8fWLYgkLRFz4AhKlgN8hCNYLEEf6pl+4 oI+27FfCugDifvbL9VUyfhCdZgdgPdZKGBNOcryHDzUh7qb24E9HyQH3koQyONlikxuA fJCnHTS/bdPgKCaPzl0UWrMD3NJPgwR8MTw4vom1VHC9AYx/QIYk9+PUSZWC60nonJ1y NzbLvh05W600mJ7RCcPfCUe2oQ7c5VZ7b8dQ7/ZRFbwvOoQ5x25Fy6R2k2WcF4vRKs1g XHXL2fIdvi815maikDY3rEePCBJilwxeqYfSquhTYhMh6sxOZg/0csMBElSfGa9YRmdB 3C7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:references :mail-followup-to:message-id:subject:cc:to:from:date; bh=zXrdL/yMIGQqhBUkwno9zHlUfOW9csxQKCpx0JP93HM=; b=nIqBde/kpTQulmuDwoSuKtKUT4Ti9ELUhyTH56DT8yXqq/w4fmKrEMZ5LJCMHTHmcF YaZEL0cmBEimtQ/YtZwYMHkzwL+NoibeWiLs6Z0uwA1QHnUVYPANqqSziuJ7+8eEnzzR wXXSGrTWyc4qieaIV+Wgep1WYZIsM5Ehym6eIyCV5pX2iBNG5cuo9nsl9iDS1FVwjQHQ hBPlqUkrk9lYt0GIP3feTQhpmytjhwaYDMxagoy5ZAJNCTjTQtdBgnNdTIFyeoNw8WOu +m3JDYJbqtXLjSImy7+hOc8mWFfUabA/ZNeWQrHQLIvTXVhNop8LDaNisei18dl12OvB /Jxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si1499562ill.27.2021.05.28.05.12.49; Fri, 28 May 2021 05:13:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236179AbhE1KMW (ORCPT + 99 others); Fri, 28 May 2021 06:12:22 -0400 Received: from mail.thorsis.com ([92.198.35.195]:49155 "EHLO mail.thorsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235672AbhE1KMV (ORCPT ); Fri, 28 May 2021 06:12:21 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 578CBF61; Fri, 28 May 2021 12:10:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4YyQp2lCo78k; Fri, 28 May 2021 12:10:46 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id 2637FE5C; Fri, 28 May 2021 12:10:45 +0200 (CEST) X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 NO_RELAYS Informational: message was not relayed via SMTP * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was * blocked. See * http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: ucw.cz] * -0.0 NO_RECEIVED Informational: message has no Received headers Date: Fri, 28 May 2021 12:10:36 +0200 From: Alexander Dahl To: Lee Jones Cc: linux-kernel@vger.kernel.org, Pavel Machek , John Lenz , Richard Purdie , linux-leds@vger.kernel.org Subject: Re: [PATCH 03/15] leds: led-class: Fix incorrectly documented param 'dev' Message-ID: Mail-Followup-To: Lee Jones , linux-kernel@vger.kernel.org, Pavel Machek , John Lenz , Richard Purdie , linux-leds@vger.kernel.org References: <20210528090629.1800173-1-lee.jones@linaro.org> <20210528090629.1800173-4-lee.jones@linaro.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210528090629.1800173-4-lee.jones@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Am Fri, May 28, 2021 at 10:06:17AM +0100 schrieb Lee Jones: > Fixes the following W=1 kernel build warning(s): > > drivers/leds/led-class.c:521: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' > drivers/leds/led-class.c:521: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' > > Cc: Pavel Machek > Cc: John Lenz > Cc: Richard Purdie > Cc: linux-leds@vger.kernel.org > Signed-off-by: Lee Jones > --- > drivers/leds/led-class.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c > index 2e495ff678562..16271a1de12a7 100644 > --- a/drivers/leds/led-class.c > +++ b/drivers/leds/led-class.c > @@ -513,7 +513,7 @@ static int devm_led_classdev_match(struct device *dev, void *res, void *data) > > /** > * devm_led_classdev_unregister() - resource managed led_classdev_unregister() > - * @parent: The device to unregister. > + * @dev: The device to unregister. > * @led_cdev: the led_classdev structure for this device. > */ > void devm_led_classdev_unregister(struct device *dev, Fixes: ca1bb4ee4c3a ("leds: Introduce devres helper for led_classdev_register") Reviewed-by: Alexander Dahl Greets Alex