]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regcache: Add ->populate() callback to separate from ->init()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Oct 2025 08:03:16 +0000 (09:03 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 31 Oct 2025 12:01:51 +0000 (12:01 +0000)
commit94a3a95f03154d8d4c6206950a7f6ef9a30baec6
treee4502a618896cf312bba33c1b654fa884300a748
parente062bdfdd6adbb2dee7751d054c1d8df63ddb8b8
regcache: Add ->populate() callback to separate from ->init()

In the future changes we would like to change the flow of the cache handling.
Add ->populate() callback in order to prepare for that.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251031080540.3970776-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/internal.h
drivers/base/regmap/regcache.c