Message ID | 20210528090629.1800173-13-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160306jac; Fri, 28 May 2021 02:07:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5IrDlKAUuRaUTj00c5HexrSLYXETE4kOwD7i7WyiB9xQcnu6CCSsTuy89pGX1pNKwjgal X-Received: by 2002:a05:6402:5211:: with SMTP id s17mr9118797edd.352.1622192830005; Fri, 28 May 2021 02:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192830; cv=none; d=google.com; s=arc-20160816; b=rCcqZGvljE1bB19QZxfSPJJiS0eAHseqReIMoU7PPb1JEzak96nrI6Yv28hr8u+9qa mshEQz2hpQBzHnyetJfADlgwqqlHQ1z5/c+dJtjoWMPoAk9RWkyPcLOVIhdWeexlCn/Y 7KPDZK4F4WjvxEHVNbJksqeOwuFS7czB1ML6V10TveIKeZ29p9pGXIzu5wdBC6mpwpqx otEBMcLgzFgCtGWByFh8gRZsgTfP28umHkm+/LJ3rUvd/fjVGEvd0fyvNeqv9mgDAzmi sMTrGImmq2yq2vdftVfzmtZXbKQWhfSxmlBnc227DrhAfxTrah0KpEwDqFsA9M0XV24M 2kSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=nqzZLcmqTKSuU3f3vK5KDzMHvqgaJPKO5YJyfz4PiLHiAY/HynBdMocjc8TrgC9UCJ KknA5sc+/SBAzOR193t81yqEfQeCTMdAxaR1VGYRZIoU+8WbRcAGT0EOzM2wqgpHJ+NO 2eabqQlbv4GM5TN+lGD8mgnCNPbgXmqG9+b02Te6ahNvFufKNvE9IT5fy4DIto8yi/W/ DupSi4SWdH94wUHtkqGyFAVIKdkDG/Eyj9wVrt5sPTjIopizrlpv76Xcdd9KH5i+Aw9u mgmJ3pjPZtHFNL6DOgT4Ju+VkvRnPQHnxbG8pP7Tr58HI6/3Bhrrd7rhfhxgXNmzsDiD 9z7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UEuBzked; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-leds-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si4267271eja.569.2021.05.28.02.07.09 for <patch@linaro.org>; Fri, 28 May 2021 02:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UEuBzked; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235910AbhE1JIl (ORCPT <rfc822;patch@linaro.org>); Fri, 28 May 2021 05:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236488AbhE1JI1 (ORCPT <rfc822; linux-leds@vger.kernel.org>); Fri, 28 May 2021 05:08:27 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A3D8C061350 for <linux-leds@vger.kernel.org>; Fri, 28 May 2021 02:06:45 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 16so1686249wmj.5 for <linux-leds@vger.kernel.org>; Fri, 28 May 2021 02:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=UEuBzkedHEMrTHy5u8204Bozcy2vdO7A2pfhZryB8XNJYAKtfW/LvR3Y4Ytcl1MK75 QTmIJsDrylbrnd58ZY2lYweT4H+qzBD83bEPkIudrOitPmG9m2ejS5nqtxTYptFJYWp+ zVXxR7IgOQ7J9DViQQoUTUJ+iQqH7wU67WS+RdVPS/KLb9eKX3FLklqC+wD5wUeckG3e zyZhM7jvN9xT6Ry4S/Mjybe03xW+sozSBgnfTsBQNRz7liILeaE//+Dn6snL8gMPX2th UEcBNROeLD0nNAP0VVmQEiGI9q6bzL2VlduVI6JhiIb6RrmcdK/oeui66yqWfh9WX8vV iU/g== 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=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=KPJ+e1CsDu/48GMWkTmSgDhSlydFPunBmarN5c94Brdv9/UOtGb6KmA1Xss00xxCe6 MNYgPz+uYEmR5NyVta7go5jisW9e5AYt3dIJ2g8cb4wTciSAXL8v9mst3QaT5OoyNB7C GokmKcfgnllnLa9IrLSUfdadHBitgxW63bZL7gB/8aSVGsxnNAAOZVz1Z40CT0eALbmO Qeq5s1KZcEESLHeGBATF0caX+QiyXfWCXkwM5cwMB8a4gS/Y21uwfaNTo9dsVVr8Be1M DeuFhoEz6W0/Kfs+30Y8L0LvWjs6P+bvyVrhcbbIoVmtdP/OdpV6wdVZq8DK/KLsszJZ 0vhQ== X-Gm-Message-State: AOAM530W7Gy3Yy9a1wJiG2RydgiSYyYFMWsby9EmAoQKYwvEL72Rit4H S6upDPY3iVXGzNltKrSWNk9L2g2HwoKo7A== X-Received: by 2002:a05:600c:2f17:: with SMTP id r23mr7369609wmn.94.1622192804096; Fri, 28 May 2021 02:06:44 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:43 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vadim Pasternak <vadimp@nvidia.com>, Pavel Machek <pavel@ucw.cz>, linux-leds@vger.kernel.org Subject: [PATCH 12/15] leds: leds-mlxreg: Fix incorrect documentation of struct member 'led_cdev' and 'led_cdev_name' Date: Fri, 28 May 2021 10:06:26 +0100 Message-Id: <20210528090629.1800173-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-leds.vger.kernel.org> X-Mailing-List: linux-leds@vger.kernel.org |
Series |
Rid W=1 warnings from LED
|
expand
|
diff --git a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c index 82aea1cd0c125..b7855c93bd725 100644 --- a/drivers/leds/leds-mlxreg.c +++ b/drivers/leds/leds-mlxreg.c @@ -28,10 +28,11 @@ * struct mlxreg_led_data - led control data: * * @data: led configuration data; - * @led_classdev: led class data; + * @led_cdev: led class data; * @base_color: base led color (other colors have constant offset from base); * @led_data: led data; * @data_parent: pointer to private device control data of parent; + * @led_cdev_name: class device name */ struct mlxreg_led_data { struct mlxreg_core_data *data;
Fixes the following W=1 kernel build warning(s): drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev' not described in 'mlxreg_led_data' drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev_name' not described in 'mlxreg_led_data' Cc: Vadim Pasternak <vadimp@nvidia.com> Cc: Pavel Machek <pavel@ucw.cz> Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/leds/leds-mlxreg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1