]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regcache: Factor out regcache_hw_exit() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Mar 2026 09:26:24 +0000 (10:26 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2026 13:03:59 +0000 (13:03 +0000)
commit9891b52ba12e9d5fed5901b6b5f6e0cdcd424390
tree90a02130704e4d8e450c6b6d22a11a9543fd9d59
parentc26137d3a3a8168b49679e30cf3c08177bb2dbe7
regcache: Factor out regcache_hw_exit() helper

Factor out regcache_hw_exit() helper to make error and exit paths
clearer. This helps to avoid missing changes in case the code gets
shuffled in the future.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260303092820.2818138-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache.c