diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2017-11-04 14:08:23 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-06 11:29:09 +0000 |
commit | c077fadf4d1e05bcdd7ddb07758cbd8acf0033f6 (patch) | |
tree | 7d440a0e0dbbde963c5650ba676093b5e96a1cd1 /drivers | |
parent | ca0db18da26a47f824fe79e6870ad19470a45525 (diff) | |
download | talos-op-linux-c077fadf4d1e05bcdd7ddb07758cbd8acf0033f6.tar.gz talos-op-linux-c077fadf4d1e05bcdd7ddb07758cbd8acf0033f6.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index bfe2f250d011..8d516a9bfc01 100644 --- 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) || |