Commit c077fadf authored by Baolin Wang's avatar Baolin Wang Committed by Mark Brown

regmap: Fix unused warning

This patch fixes the warning of label 'err_map' defined but not used.
Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ca0db18d
......@@ -699,7 +699,7 @@ struct regmap *__regmap_init(struct device *dev,
map->lock_arg = map;
#else
ret = -EINVAL;
goto err;
goto err_map;
#endif
} else {
if ((bus && bus->fast_io) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment