projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0db18
)
regmap: Fix unused warning
author
Baolin Wang
<baolin.wang@linaro.org>
Sat, 4 Nov 2017 06:08:23 +0000
(14:08 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 6 Nov 2017 11:29:09 +0000
(11:29 +0000)
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>
drivers/base/regmap/regmap.c
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/regmap.c
b/drivers/base/regmap/regmap.c
index bfe2f250d011eceb5017878af79336a194ceb5dd..8d516a9bfc01722567588523b92e7fdcc2b75339 100644
(file)
--- a/
drivers/base/regmap/regmap.c
+++ b/
drivers/base/regmap/regmap.c
@@
-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) ||