FROMGIT: regmap: kunit: Fix repeated test param

There're duplicated elements in the test param real_cache_types_list. The
second one shoulde have cache type REGCACHE_MAPLE.

Signed-off-by: Cheng-Cheng Lo <locc@google.com>
Link: https://patch.msgid.link/20241029081941.3264566-1-locc@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>

Bug: 371482271
(cherry picked from commit 96a54082424dc9d430076563031d9b576176674e
 https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next)
Change-Id: Ie6cff618bd7f1b99e95fec3b0f1bc429bcccc5bb
Signed-off-by: Cheng-Cheng Lo <locc@google.com>
This commit is contained in:
Cheng-Cheng Lo
2024-10-29 16:19:41 +08:00
parent 3d6ae8cb35
commit 51f84025bb
+1 -1
View File
@@ -126,7 +126,7 @@ static const struct regmap_test_param real_cache_types_list[] = {
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2003 },
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2004 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0 },
{ .cache = REGCACHE_RBTREE, .from_reg = 0, .fast_io = true },
{ .cache = REGCACHE_MAPLE, .from_reg = 0, .fast_io = true },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2001 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2002 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2003 },