Message ID | 20210528090629.1800173-8-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 a27csp160223jac; Fri, 28 May 2021 02:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYMtUkqz2Hz9liz9EchXjwIGmQvfJK3TKMn7LowTFzg71ZBTnvXq1xwHUsuKMpTc3hlxRk X-Received: by 2002:a05:6402:1b10:: with SMTP id by16mr8560180edb.172.1622192821674; Fri, 28 May 2021 02:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192821; cv=none; d=google.com; s=arc-20160816; b=KsUIyBfhzHET4hmEhMFsZZXmUh8rnDiuAaebb4cvwZK9in5/45AxkWAHhzo6JFSRj2 7iFbXM91YVP0wiy5AHuvEb6kS8caJ+5H02bfeICIct5qdQyGPFcgr2q7KNWBUEoqdk9V h2qzddck8IbBYISX38alvOqKYdrfAz6RkFMsKT+R0Z8D8RQQYZimapk5VXE6+umi9CLg wvo9vk1/tXiZetYG8imvZfR2wZoPy1vyrc2840lrPt/vqZHqWwjUG8UvZiUB/HYy48Vh z0PGaiGjZhhSt23WLsbnEbb2cPlyi2iGMejVuZGWg3kL9rEMg78Fc3HUU/GYDf70jyIg 4XOA== 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=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=HoM50oJbVfG04NOUShmx2XIxZ11MVKGrnlyWZHzhIrQhels60MzvXg1mrRuapj7z90 ffWKqM0/otLUBPHs1ipH+c+0MPBFYY+VAguuIdczmjtlqdu+MYA/X7i3k0vIuDRx7+qk ZPYoXGEBNacvmRU7s+mDa0OIYvlG7Qy/ZkLwqXcSONNTpBxzRC2N/hq92+1C1H2zf+pu RHlERBvytwqTMQrQTRmE/sI1bzGL77nPfGWpLGxsflZZ34o2ooIOChklFhKpNpzZP0IA ls5xzi90ViWkOkDAu73QgsZuV1DZ3gZ1+VzwIRNAkKpZ7p0G9fIzTmrNQwPXP5IC0OCA 6OhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yU1zFn7z; 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.01 for <patch@linaro.org>; Fri, 28 May 2021 02:07:01 -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=yU1zFn7z; 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 S236340AbhE1JIa (ORCPT <rfc822;patch@linaro.org>); Fri, 28 May 2021 05:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236455AbhE1JIS (ORCPT <rfc822; linux-leds@vger.kernel.org>); Fri, 28 May 2021 05:08:18 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B056DC061349 for <linux-leds@vger.kernel.org>; Fri, 28 May 2021 02:06:40 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 16so1686107wmj.5 for <linux-leds@vger.kernel.org>; Fri, 28 May 2021 02:06:40 -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=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=yU1zFn7zCAlBTiOADJg/JAqk0hVjBbGOO/x5LjIrPZGuOn/uq7O4Q1fIUOhayuVBpS HZtHww+855kuEsuCg03+OtxoIkdM+0eohBonn+Rj2odQwoOFOLWKAevPm7+xAwPLwRRX BeXHATNHfQTencjFqEUnFCoeXBc2YRzT/9a4EyzIBGFkMWUdRkKr7i6saIrWzC5mk3cZ hL16RVsshvZFDYOLdlO1Z4FD6TIRPzAM8R/96CmrdNVVrq29nht2XOkdoYzJusJNYPq7 dCxF7jl56OZSn6KyhClb2PvJNx8HPisjARNifO2rreUGDIJDiHZbLCOKN3TT3etPJd6V 9OUQ== 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=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=QKzvq6bAagBvttfXABWlpO5J7ZIMjeNrpJKbEx8goNe4pKbkmOzFtIZPYiazsDAcoV TEPRaipPEc7s48e0j+JfOskr6wQVEyBysXxnBh9fzb9kqN9GpYwYql9gIjD45yE1ixMa aWiYXDrOKOQTSUEnAxvLOYIR3q9vAHiAZYo5z63MIsla4lpUarFcZHGezxcOR2A9D97t SzOdrWVfxXnFU5phcGNwryiNDgw3oTiNJDM2dpnTajgtulcEQW3EjnBFlHz7V1mTr9Iv u/0qqovnUigiqH+MMqhpr/qUw0VKqrZgJb0p0cEEbh7NnBpDyJinYhxgh2rtKEWatgmY gM2w== X-Gm-Message-State: AOAM533cWA3SK+bYNI5jQlsfDc1SmN0hhCs3HH3kHb0fMiIKtKIOMJyQ SCtz0tNXpPqOw9xzDpY8ijEjsg== X-Received: by 2002:a7b:c3d4:: with SMTP id t20mr7311621wmj.13.1622192799358; Fri, 28 May 2021 02:06:39 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:38 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>, David Rivshin <drivshin@allworx.com>, linux-leds@vger.kernel.org Subject: [PATCH 07/15] leds: leds-is31fl32xx: Provide missing description for member 'sw_shutdown_func' Date: Fri, 28 May 2021 10:06:21 +0100 Message-Id: <20210528090629.1800173-8-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-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index 2180255ad3393..3b55af9a8c585 100644 --- a/drivers/leds/leds-is31fl32xx.c +++ b/drivers/leds/leds-is31fl32xx.c @@ -58,7 +58,8 @@ struct is31fl32xx_priv { * @pwm_registers_reversed: : true if PWM registers count down instead of up * @led_control_register_base : address of first LED control register (optional) * @enable_bits_per_led_control_register: number of LEDs enable bits in each - * @reset_func: : pointer to reset function + * @reset_func : pointer to reset function + * @sw_shutdown_func : pointer to software shutdown function * * For all optional register addresses, the sentinel value %IS31FL32XX_REG_NONE * indicates that this chip has no such register.
Fixes the following W=1 kernel build warning(s): drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' Cc: Pavel Machek <pavel@ucw.cz> Cc: David Rivshin <drivshin@allworx.com> Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/leds/leds-is31fl32xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1