From patchwork Thu Feb 29 07:19:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 776970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD59444C63; Thu, 29 Feb 2024 07:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191178; cv=none; b=E2eF4J9vhTXADdSJHcMCY4el5Ns+c1lGrEo/JQfkKQfosoQGJTzN93LRsLo8nsf0XKPf8vDsq9TipLsvj1wL9jemXPos9NySC5HxvPyYTpcdl09o+m92o3t0tJW1C8xDo5Sh4N/UKomSmW08EdKW3wHpk47EGf6RD/yKmn2QoR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191178; c=relaxed/simple; bh=eR3NtE9MXtWW4Zw3NEsGxQH+GyzrzX8HIKqT3LM5NUo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UwwzlVWL+sfHei4one34M7sqBBSDnqppEtDYX1SBJBzdDn6jOccMHICrFpvVg3a2yxukEjnj/l2iP4Z/4L14YOhAE09dc/XOlEnAm453hYJwqpj3N6OpYNsrYy92DC8QdFT1r5ptXQvWgCqH2E1J/OcVRNHuH7J0D3tjeh/3gV0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=y+5fl9EG; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="y+5fl9EG" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=yn+LDoAkyjMCRYlmC4iTNINlHwVp0l0T/r2Qk9tY2v4=; b=y+5fl9EG4wfZksZigWU6EAPC7s nvfRcP5rK8X35hGsHagpwydSunswNSU1tk+ANtFwqDOZUWT6JEAlusewcg33oB89opdo12A3y6PIL KUvQayRTjlUXpAHuclvUSpPqILRtSkpimlBqEPcfDMksZJoC6b2YQojwO46Op9BMVtoF4ApGcZ+9y knuSQMAPDcEB5E08nHqVyfhOf2DR9vqoN40EXE5LJmMWONOOByMsHCWOq0MoDpAdu9t20x3jeQ7H/ cpRPx3/43yM9IfkanRTCdkI5Eyf4wmfBs8ui7ck+c6WGo1VlfOVJ8yYOP5+KKaCDMq9c6yqC0XO5K coTE3XAA==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfahb-0000000CRbT-0Sah; Thu, 29 Feb 2024 07:19:35 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Pavel Machek , Lee Jones , linux-leds@vger.kernel.org Subject: [PATCH v2 1/3] leds: lm3601x: fix struct lm3601_led kernel-doc warnings Date: Wed, 28 Feb 2024 23:19:29 -0800 Message-ID: <20240229071931.7870-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240229071931.7870-1-rdunlap@infradead.org> References: <20240229071931.7870-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a short struct description and remove one extraneous struct field description to quieten these warnings: leds-lm3601x.c:73: warning: missing initial short description on line: * struct lm3601x_led - leds-lm3601x.c:100: warning: Excess struct member 'led_name' description in 'lm3601x_led' Signed-off-by: Randy Dunlap Cc: Pavel Machek Cc: Lee Jones Cc: linux-leds@vger.kernel.org --- v2: make the 3 leds patches a series as requested by Lee; make the Subject better/unique drivers/leds/flash/leds-lm3601x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -- a/drivers/leds/flash/leds-lm3601x.c b/drivers/leds/flash/leds-lm3601x.c --- a/drivers/leds/flash/leds-lm3601x.c +++ b/drivers/leds/flash/leds-lm3601x.c @@ -70,12 +70,11 @@ enum lm3601x_type { }; /** - * struct lm3601x_led - + * struct lm3601x_led - private lm3601x LED data * @fled_cdev: flash LED class device pointer * @client: Pointer to the I2C client * @regmap: Devices register map * @lock: Lock for reading/writing the device - * @led_name: LED label for the Torch or IR LED * @flash_timeout: the timeout for the flash * @last_flag: last known flags register value * @torch_current_max: maximum current for the torch From patchwork Thu Feb 29 07:19:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 777269 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD55644C62; Thu, 29 Feb 2024 07:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191178; cv=none; b=QF/hmIoGCSys1vdZSn3SRs/6nH1CFbi6hzBskw/cY290ICP3q/epfWcVjgRDHQ6eYCBvsD62n7fGJBrgOWda1jjbhpTip5kynTcBiMkINzeLhae0ELjIZol7Wpo0sBY45g4rA5JJLYiqPLmZXuFjzBOhvSZ1ioxx65qy3FeOx1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191178; c=relaxed/simple; bh=Znyef0w00wFhrFfOangTwrEShTAAZ9j4c+Qy3tm5Pho=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kzjO9iRvN9hOsqSTnU4y31L9d9JeHmBNPvg5pdJkXka2MntclDMPBRSdZnm+bGjzdkE+arkXfc3VLNMQZzbM/ftXWM6PGZySz2IJe8cti1iAIv+U8UKZgvsFGvGMSBuvwFl5/ZaTKcDq8chVuhOx0IhbZ/zKwcCGVuRCq98w+QE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=heN6FNVU; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="heN6FNVU" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=ygama+h1D6ZMT3In11w2DYFC+Ygt+wGjnAaK2I0y9rM=; b=heN6FNVUX0cTwhasrYNlknUpTh c4Z4JgU8kzTNNYRzsROAkQ3YIHO2WLJMTv6B9pf+i3Ipz8DF60ARNS0/jhutErbZAmVsRcgaJwsuy IiXbEjjgE0kCOlhPxLnS0fwjM53z/9bMe73kOSXfAq+Ql5JYwK1EkwAaaVvhpO9urP0U3qDm4T/Rv RqPVuVIw1rZZ8obsGLTwWnhs4VG08JF46yww2sccjuAkBZR5eG2dDA+zagryWHB1Bnm4NdFIJBn3M +0zF3IvTz4uLMHGX61vnNQrloSDHBSHrirI37w4ijV/pMED/HyBOlILD07FMLcP02Mn92pct1pgBJ qtXJPqdg==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfahb-0000000CRbT-1bIn; Thu, 29 Feb 2024 07:19:35 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vadim Pasternak , Pavel Machek , Lee Jones , linux-leds@vger.kernel.org Subject: [PATCH v2 2/3] leds: leds-mlxcpld: fix struct mlxcpld_led_priv member name Date: Wed, 28 Feb 2024 23:19:30 -0800 Message-ID: <20240229071931.7870-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240229071931.7870-1-rdunlap@infradead.org> References: <20240229071931.7870-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Change "cled" to "cdev" to quieten kernel-doc warnings: leds-mlxcpld.c:86: warning: Function parameter or struct member 'cdev' not described in 'mlxcpld_led_priv' leds-mlxcpld.c:86: warning: Excess struct member 'cled' description in 'mlxcpld_led_priv' Signed-off-by: Randy Dunlap Cc: Vadim Pasternak Cc: Pavel Machek Cc: Lee Jones Cc: linux-leds@vger.kernel.org --- v2: make the 3 leds patches a series as requested by Lee; make the Subject better/unique drivers/leds/leds-mlxcpld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/leds/leds-mlxcpld.c b/drivers/leds/leds-mlxcpld.c --- a/drivers/leds/leds-mlxcpld.c +++ b/drivers/leds/leds-mlxcpld.c @@ -77,7 +77,7 @@ struct mlxcpld_param { /** * struct mlxcpld_led_priv - LED private data: - * @cled: LED class device instance + * @cdev: LED class device instance * @param: LED CPLD access parameters **/ struct mlxcpld_led_priv { From patchwork Thu Feb 29 07:19:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 777268 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD5BB44C67; Thu, 29 Feb 2024 07:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191179; cv=none; b=THhVetIzBMc4uKblsaWrojMT5qfs5VHec/P5lXwiyiiAlwiCBiHgUTmWKyktyjvE78huR+K2f3Eow0bupWL5kjoXyd51l9MtT+LS8kVLyaoJY6+OgVQDmCiYa35dG3TWxlEn8myO3VHvdczhF15IS4M27Ax5vw1dGrVNFQqChaE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191179; c=relaxed/simple; bh=YBbHi68ekL9P5oNGd7KlhsIkC3X05NvW3icD0z4OX/Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L0pC00HZCTZ+N/aYYtB9Zr35VfGd4NPLhaSIUTdELzSOwSucTYaWn6CNqwSoIu0DUgcTUt8qV0V1Z8Nt80XPBg/hILA2JB0DtoMKbVl+PcryuNzPHEApC22xnlE0zgem4q0Lvot7kjYFPGXBOuYHp3HxeEZ1tyNAXPOiKNPHu8I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ccKiWFZL; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ccKiWFZL" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=sVeHjOF3s61YXQA8x4PJM0G1Fv6dbkXZ8N0N3CupNdk=; b=ccKiWFZLf0seg40mSGs42Mh+a2 XbBeShXiiJ9qTyRl5N6i6PDeK5Q817KxoyiQqGsKTHiGp8HaDrkXbVzv4v7PuQbJQhtsupHdDh8jW 6KmTSp7keQzqMe9VEhQrniOKOojN7xDprYfDSsB7OtQik7B4LUU9S7Q8njgkwbWOQ8r/Xgn61opVQ hWWNgywCGxYyqHthemsvfwcpCb4gyNOXkZ27aJh5iiuk474oGyN9kTY/O7gitcqJf0KEhZKdSP+u3 OAi5Sg/13bUgAh2aj8tLVoCEvfbCZQywH9srL/6QWWu/GyHAfRNJmo+9dmvZQQ+3PnscLpRUfUEue 8BvqOdUw==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfahb-0000000CRbT-2j11; Thu, 29 Feb 2024 07:19:35 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vadim Pasternak , Pavel Machek , Lee Jones , linux-leds@vger.kernel.org Subject: [PATCH v2 3/3] leds: mlxreg: drop an excess struct mlxreg_led_data member Date: Wed, 28 Feb 2024 23:19:31 -0800 Message-ID: <20240229071931.7870-4-rdunlap@infradead.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240229071931.7870-1-rdunlap@infradead.org> References: <20240229071931.7870-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Drop one struct member description to fix a kernel-doc warning: drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in 'mlxreg_led_data' Signed-off-by: Randy Dunlap Cc: Vadim Pasternak Cc: Pavel Machek Cc: Lee Jones Cc: linux-leds@vger.kernel.org --- v2: make the 3 leds patches a series as requested by Lee; make the Subject better/unique drivers/leds/leds-mlxreg.c | 1 - 1 file changed, 1 deletion(-) diff -- a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c --- a/drivers/leds/leds-mlxreg.c +++ b/drivers/leds/leds-mlxreg.c @@ -29,7 +29,6 @@ * @data: led configuration 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 */