mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
regmap: Fix unused warning
This patch fixes the warning of label 'err_map' defined but not used. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ca0db18da2
commit
c077fadf4d
1 changed files with 1 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue