Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1078508rwb; Fri, 28 Jul 2023 04:34:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/NX6Jjs7we1CnI7siKKWFr/0BJKW4fhohs+mpeeJoBxyEzRAFKPlRTb8JN5VJDl5vOQn5 X-Received: by 2002:a05:6a21:7741:b0:134:6839:c497 with SMTP id bc1-20020a056a21774100b001346839c497mr1301669pzc.11.1690544093683; Fri, 28 Jul 2023 04:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690544093; cv=none; d=google.com; s=arc-20160816; b=T8swJ1kdvegi/w759PwS+Q3SuZTt9iDb9Qmjk+0eH6/cqFXDAfWTARcBPQ1T93fa0+ 7Ny67xOWiyUhVANpw5lrzHszC3SKX7r50vGn2tC2RXU22kPQIXkaecjDP5bSc7Dw2+3z fNNs0VfgyE+gr2n9ZqNIBBwJQtSV2ZxivqG7A3VSM5LbmqeKWbgkY9V2Q84/DPBSxTYQ sOc/FPSwDqVKn798dTSlgeNu6PaWyPOeDuxdR+iLBeHld8uVx1GHtEv53AssI4cvd9iG nUrNsCWJ9b37Ra9DJLddI/0uuU7pKnCCSnCDomu459Mnsk/3VdenY1jf2xfIo6FT8v1W VKxA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=ZLfB8rDnpmeuM1D16aU5w5Ujn/RUw401KcN4q3v+y/o=; fh=IldMsHlTT3cncHVhVPnA2HBSKfSMfFOQNW8/AU7gttg=; b=0sVU8HTWBusml+q2LaLzUp2HaZbCctIx5wOEVHxio+K8fMmpO+LqhZ2O5C/dezzT2b FWJpxCcpeZ+1ziT/aOGKdAgO95ek5daQ1p0iNe5Q5Ol1FpMXm9OlWVMOYJ9i5O8UV6lD euW6MlpuzHz6FJm+MaDrtkuN5gnCGNc1u58vl+e2H+OmWVgY5ZtSODSw+2nymLD1Xed5 UnD1OfR0eonjY6PaMaI8bc24kJbp3RELNazqswhgKbV8WuFUJgqeBbf/DAr/pE1bQC6h LWg7u8YlYZynAvoBhlFUe5+tKgZjQx45z4aukpIzNao50ZR9vKjbWHuPWfuaRTzjwn6R m61w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzld1Yt5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w125-20020a627b83000000b00686ae67b95bsi2992646pfc.225.2023.07.28.04.34.41; Fri, 28 Jul 2023 04:34:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzld1Yt5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236081AbjG1K6f (ORCPT + 99 others); Fri, 28 Jul 2023 06:58:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233775AbjG1K6d (ORCPT ); Fri, 28 Jul 2023 06:58:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E48BF26BC; Fri, 28 Jul 2023 03:58:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7DD40620D2; Fri, 28 Jul 2023 10:58:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E165C433C8; Fri, 28 Jul 2023 10:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690541911; bh=+wxnkCG035cpz9797wtipinXz8iWGwKy9GAM68TlIKw=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=mzld1Yt5Hznwt0XDf12iVnvQb0PDvvB6RRFiWtX8s67N+7jh7+fgq+EkkZl8fSGrl H8yaaelyf69kNAJCSqP3O39wj/AjD5FWDCYDZzGPAjf/SV8mflxrm2fOsL/zC0TPk7 8CtJ48UcXMl06fA7CKU8x3uZVzMp8HbGSZ1SHo4eZQpMWDfM0oOC7mStangOxIjyyN RSf9o8w0n3c8kO7NM3CFpufcYCAURRH+IpFomStcW8PvBdb9DiuyMUS+aDEjsOqjqL J//KFJTyj5aLuvJao0JDqJZegAvT7dh3XYTjT4mOe4FnoqS6GcBsv5zAFF1yaDXvyx v11HY139s/mIA== From: Lee Jones To: Pavel Machek , Lee Jones , Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-leds@vger.kernel.org In-Reply-To: <560b8f140c19a7da40f5e9540c3ef312969b0dc4.1690057595.git.christophe.jaillet@wanadoo.fr> References: <560b8f140c19a7da40f5e9540c3ef312969b0dc4.1690057595.git.christophe.jaillet@wanadoo.fr> Subject: Re: (subset) [PATCH] leds: ns2: Slightly simplify a memory allocation Message-Id: <169054191038.338256.14267674740250661120.b4-ty@kernel.org> Date: Fri, 28 Jul 2023 11:58:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 22 Jul 2023 22:26:49 +0200, Christophe JAILLET wrote: > Use devm_kcalloc() instead of devm_kzalloc()+array_size(). > > Applied, thanks! [1/1] leds: ns2: Slightly simplify a memory allocation commit: c8a039436525072af7e77f540d21f0d312fc7c38 -- Lee Jones [李琼斯]