Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp97108rdb; Tue, 19 Dec 2023 10:18:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3WnBp2K4QW17lS/Z3Ig1ZPS73v/zTZy3+6UOTBBsfeLdyrp7uvpe/Z7BSrJFlmtsmQFWJ X-Received: by 2002:a17:907:94c9:b0:a19:7144:6bf4 with SMTP id dn9-20020a17090794c900b00a1971446bf4mr9957348ejc.59.1703009937966; Tue, 19 Dec 2023 10:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703009937; cv=none; d=google.com; s=arc-20160816; b=jM8E1hsZ8bvDl/KTFbDfEC4GeHaO0ePUzMBEEwPwa7PIN/15egCFiDE1MUR63/WcFW 6rH6gbfrVeMIpztZ2P5vpv6j8lz/xWs8dUAL9cHYoHAskwQHn/J9uRNQ8fxfu/z71zZV GRdtgyGDf1r50XsWiwZpSrMklEiTx8hzZNG8N6igSJLzB/U94t7Fi42lN3LyftGY6lrw ATvB3I44D7Bj3HxhTB1RI9mK0VK87roLL4LNQYwsO7QGGvvjMMACm39olbUT7SWPNVNk rtdhP1e17R7htJAD6vnGYob/tCTMjEfZ5b2jVC5MoXl5o6nax7S2vF5xh4FkD3SUc8kU 9sQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=opCS3OjJTfczhBDIFyic4AXGgg2nmqq2nv66/oBQQH4=; fh=/aa49oU7jWyN9rSV5K5CRhjoUgv1KSWKPcxVDIvb3qY=; b=L5DSqf5NdFlgZoTPh5voAd95kyPb6b0GIypV6xa0YCHHBqx5u5iDoblPWrQ3lG++s4 m7KJ80Fb4uO40qCAiWpR2DM4A+eO6t03zXiUU5AGMtxZ4B7y7LrbwunnVjKQ4ZEO6BpL 01itWDepwBuHdfe2CmIYrakLMlv46p+ZG9gRGNSekhq0a8+FvtBAqojQBuGb5MMN3NH6 i5Z3ZiHj42CkfxpMoqSwXoologtauq5D1+cmMiRKWi90R8mEvfd1Y6+1jzDafy6kJ1+P T212SNpZ80Wwz1p06c0+0GGZTf8fi96WixT/czKkV0HqaVvjlooCGUjRlYBPQ0dTx47E E0Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nKQ+NpBh; spf=pass (google.com: domain of linux-kernel+bounces-5797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w13-20020a1709064a0d00b00a2435495b97si697033eju.918.2023.12.19.10.18.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:18:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nKQ+NpBh; spf=pass (google.com: domain of linux-kernel+bounces-5797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1DFA71F23F1B for ; Tue, 19 Dec 2023 18:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 999E73D0AF; Tue, 19 Dec 2023 18:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nKQ+NpBh" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7443440BF9; Tue, 19 Dec 2023 18:13:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB674C433C7; Tue, 19 Dec 2023 18:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703009625; bh=rl0oGJRj24LNgiZU8UrAeIcpL4ZoLYNFcJBbQXFfYsk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nKQ+NpBhVhYf1S9GOtzOlJIgbXu1I0CRJH20nDeKl9+UdJsWedrb/cVqlF5Ld4onb YRJJoUgJR4kpS2qVJ4J/4oKQeK/yqmdzEtbpIdtWoo1Kbj7KUmWwapz3wZ5O5isUOz Ra49I0QD4ox7bS8G0zBg4I6buHPUKP3t46zHVYA4= Date: Tue, 19 Dec 2023 19:13:43 +0100 From: Greg Kroah-Hartman To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Miquel Raynal , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, u-boot@lists.denx.de, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH V2 3/5] nvmem: u-boot-env: use more nvmem subsystem helpers Message-ID: <2023121929-salami-pessimist-c943@gregkh> References: <20231219174025.15228-1-zajec5@gmail.com> <20231219174025.15228-3-zajec5@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231219174025.15228-3-zajec5@gmail.com> On Tue, Dec 19, 2023 at 06:40:23PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > 1. Use nvmem_dev_size() and nvmem_device_read() to make this driver less > mtd dependent > 2. Use nvmem_add_one_cell() to simplify adding NVMEM cells Shouldn't this be 2 different patches? thanks, greg k-h