未验证 提交 c077fadf 编写于 作者: B Baolin Wang 提交者: Mark Brown

regmap: Fix unused warning

This patch fixes the warning of label 'err_map' defined but not used.
Signed-off-by: NBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册