regmap: Clarify error for unknown cache types
authorMark Brown <broonie@kernel.org>
Fri, 24 Mar 2023 16:22:26 +0000 (16:22 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 27 Mar 2023 00:42:31 +0000 (01:42 +0100)
commit2d38e8615a21e264042870f811247d5c52c27f4e
treecf4a6776fdf2ce562507c96c027ce236f6b85369
parent2c89db8f8d1e544fd817d4c0dc508a00b78a8f7f
regmap: Clarify error for unknown cache types

The error message printed when we fail to locate the cache type the map
requested says it can't find a compress type rather than a cache type,
fix that. Since the compressed type is the only one currently compiled
conditionally it's likely to be the missing type but that might not always
be true and is still unclear.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230324-regcache-unknown-v1-1-80deecbf196b@kernel.org
drivers/base/regmap/regcache.c