From mboxrd@z Thu Jan 1 00:00:00 1970 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 1CBA534B419 for ; Thu, 6 Nov 2025 16:02:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762444966; cv=none; b=edNHUnn2sLTriFhSu3kYFHq+ffgfuEWGcqyJkaqa7XXtDgFe581ODo3bmXL+kjU7ylG3REIoOs5HEZ+Bt8i15B3FU6fIhYA6c2GR24aEwvtzJrkWtA8AUbOLtcEy5Bf1c/9zQtdkJJiHyAwSvmadiUA4vrdsZsr+xlUN2ExS5E0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762444966; c=relaxed/simple; bh=w6HePfwtKjb+QN59gloUQ2lk3XTFx2xaQ9QVJDZLtJA=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Iqz1A0HzDloDBMe64OHtYaTChiU9IAIoHXDybTxv73VdPpB+xZj+VOJFbwN4l8/C745VmlleEHkmP+D4YsMiayUZDj7RjvGakfCsI53DivKW2414AGPkKe4HYH+WiQ9Ld1v7q5/TWv08NDKSPISkSShwa68xn66vEAe1czoS+ls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g+PFkdrL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g+PFkdrL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D058FC4CEFB; Thu, 6 Nov 2025 16:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762444965; bh=w6HePfwtKjb+QN59gloUQ2lk3XTFx2xaQ9QVJDZLtJA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=g+PFkdrLQjTiTAiS97btSjvgSgVsZMGMwRq2q3s6gfKkouCaqWuojNAXWgDbeNDt8 qK25HoqX4a2ETXJKCFOMG/XJiGTeqxBjMZQHeJEa1CfKuydhFnDJVwif1DsddYL3QH DXVX5x9u3DwrVZmYPnmLJ/YKZwIZjWGrQZh397lF1ZB42OOywvZGu/oQ2cWgIXUXtF RVHXiiXbLHHA952pM8ByydRdljoaq8/wF45t7zJyePuc75CkMn8C79dfTIZvm89LeR zj6V2sNKZgogFgNW7KDiBlCen8Zer+GGuWWTLEjbu/Cior5P2wfYXWrqqvo7xFDeNH vR6My7JAj7Slg== From: Lee Jones To: Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: (subset) [PATCH] mfd: bd718x7: Use regmap_reg_range() Message-Id: <176244496453.1924614.12838084027318818785.b4-ty@kernel.org> Date: Thu, 06 Nov 2025 16:02:44 +0000 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-Transfer-Encoding: 8bit X-Mailer: b4 0.15-dev-52d38 On Mon, 27 Oct 2025 14:12:06 +0200, Matti Vaittinen wrote: > Initializing the regmap_ranges using direct assignment to the range_min > and range_max members is a slightly verbose. In general we can make it a > tad cleaner when using the regmap_reg_range() macro. > > The rohm-bd718x7.c is doing this open-coded initialization. It's not > really bad as there is only one range defined, but it is still worth > converting it to use the regmap_reg_range() so no-one uses it as a bad > example. > > [...] Applied, thanks! [1/1] mfd: bd718x7: Use regmap_reg_range() commit: 1810b210872ffc9985febca0880702a7102aad31 -- Lee Jones [李琼斯]