Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp310583pxj; Fri, 28 May 2021 04:41:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0u2D0q/7DTyCE7b3cTqhbnYqHlE0H7EAQyBTNeJYLcJ8Z9hjJJTi20o5OLrz6a6Q8eVpZ X-Received: by 2002:a17:907:1ca9:: with SMTP id nb41mr8557248ejc.279.1622202066368; Fri, 28 May 2021 04:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622202066; cv=none; d=google.com; s=arc-20160816; b=DvEto/6dKG1gSa3RP0VatYEFignmm+t0qdPs4I5Hohm/DOvOUtsBFzkjZz2xq5MS7i 5bU11bMeh2q31EAddh/zzzXkk34MQ8CV2WwQLZ+D73NifO4N/Ne8f8+FOXaKB/P8pqL9 b9ZE4i8gv5InlfbqPLBbEbn/V7MDkrlyiLx9eKIRKo9RKWdS/y44Pj4lpMLkkIbzrHAZ G8fo/fgcxWbbGkvodO6l+WQaXCa2oTsB//fSRNvyGMHtw6pj5LU+Ux+JHwE13HToVIZI SI4DHSeDd+Hq2yEOex5hZYM7l+xdopsxY5EPD00b7Qo2ccnJNzfklOB7K0XHIFY2/Phc XIUg== 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=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=Mcu0QfPXwChNMKC4iWkBwkL8cYtATBxnNcOy3RBx4zT1k2ldKSUmXwgI/ESuNvoX3/ uTcWRsCeRgIElVJFeAZFe7OfbCvz01+vv2+9/OnDGAz3XyoC/lyWsYBbaTrQ1BoLFE/5 msGSWcm4aoFeyTLaUOk1Kj1cXpsVHSm/xS2jeou+5kW4KiZBoKRj8Ao13x2y2TW21I5h jS/ZgiwD9E3aJq0gDGtdE36oHi0Fm1oqzvOhVjBo5uoKjRvUrw+S2QqixGrbQ/fFxx8D 4ydYZ8dv2c7kCoK+Kg1INpVel3HjvXFnhZkKIqzfPCUNYPVALLhnL4S2Lew0ZGIpPxrx 1ZCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xkMc8n03; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kf11si250168ejc.490.2021.05.28.04.40.42; Fri, 28 May 2021 04:41:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=xkMc8n03; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236719AbhE1JJK (ORCPT + 99 others); Fri, 28 May 2021 05:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236469AbhE1JI0 (ORCPT ); Fri, 28 May 2021 05:08:26 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B8FC06174A for ; Fri, 28 May 2021 02:06:44 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id h3so1692862wmq.3 for ; Fri, 28 May 2021 02:06:44 -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=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=xkMc8n03C9qNMBP/ffDVyelt5dkLTk0NiMhYljGoR9aSGgQ9Cs4GyIJmg18iZB2QTS ywpN6CG8rPcBrlOQPylthnjZSEQBfHZYL95JU0Vefkra+p1LqvDZKZc5CpJtxgMXqzjj XrQwfzp+S30Xwf9eOg69yPkLUkm14RL/vJHfIyuCoWP6j6AcVgunnc/RFnlE73AEcMtm vJabvm6+dlKL3OWCZHz2FGFA86bo9k25qMtJhA8AZxXXH93C3/eW+4nZcg8VNIFI3BNV faRaKQX+SzN65xqgCNBxGl0Hw1W0QHyK1dJJmcJPkji1eskeJs08uCI+goiABDlKS9Uc 8V2w== 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=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=W+wFEAqaJtcQUoy9raTx4il/KmQd3x6HuJ3FC/h6WFxwfRqztvudKaHqXcN3afR30/ 3NboXZQvfi8uvpQjIbgxFQMP0hdMcBzKJvZhbTEyzESi8wY8AugsHRN2Olw+73uOlX4E hFVTB5v6WEJ+BP5pzZzXEninWEJn4sTtETZSg76wDdpa7Ky7CRuGYtAT4TD1EZdvJtnh YDDlgPptazXnYw1UJtHjx0PQ/dTtAJCGpEEg9B5BVT0Br4ZEPQJIRhzMW5bM96Q+yBk4 LUA1oGqhU7w6f2wlwcCZwP3uNzOn5gob7NV/dOyVwPjJovN/RQO3tyzPFB17Anh3Y2N2 efgw== X-Gm-Message-State: AOAM531J/ANsc075Ws9S+t24O8+qPBor+XOSqBZfPO+DSH/c1jqqyO0A AZ10Z5URoChLUEIF2v4EyKntWDP4tL+fLQ== X-Received: by 2002:a7b:c24a:: with SMTP id b10mr12362865wmj.157.1622192803306; Fri, 28 May 2021 02:06:43 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:42 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 11/15] leds: leds-lm3697: Provide some missing descriptions for struct members Date: Fri, 28 May 2021 10:06:25 +0100 Message-Id: <20210528090629.1800173-12-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: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3697.c:60: warning: Function parameter or member 'enabled' not described in 'lm3697_led' drivers/leds/leds-lm3697.c:60: warning: Function parameter or member 'num_leds' not described in 'lm3697_led' drivers/leds/leds-lm3697.c:84: warning: Function parameter or member 'bank_cfg' not described in 'lm3697' drivers/leds/leds-lm3697.c:84: warning: Function parameter or member 'num_banks' not described in 'lm3697' Cc: Pavel Machek Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lm3697.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/leds/leds-lm3697.c b/drivers/leds/leds-lm3697.c index 7d216cdb91a8a..0d10d12134479 100644 --- a/drivers/leds/leds-lm3697.c +++ b/drivers/leds/leds-lm3697.c @@ -47,6 +47,8 @@ * @lmu_data: Register and setting values for common code * @control_bank: Control bank the LED is associated to. 0 is control bank A * 1 is control bank B + * @enabled: LED brightness level (or LED_OFF) + * @num_leds: Number of LEDs available */ struct lm3697_led { u32 hvled_strings[LM3697_MAX_LED_STRINGS]; @@ -68,6 +70,8 @@ struct lm3697_led { * @dev: Pointer to the devices device struct * @lock: Lock for reading/writing the device * @leds: Array of LED strings + * @bank_cfg: OUTPUT_CONFIG register values + * @num_banks: Number of control banks */ struct lm3697 { struct gpio_desc *enable_gpio; -- 2.31.1