regmap: Fix unused warning
authorBaolin Wang <baolin.wang@linaro.org>
Sat, 4 Nov 2017 06:08:23 +0000 (14:08 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Nov 2017 11:29:09 +0000 (11:29 +0000)
commitc077fadf4d1e05bcdd7ddb07758cbd8acf0033f6
tree7d440a0e0dbbde963c5650ba676093b5e96a1cd1
parentca0db18da26a47f824fe79e6870ad19470a45525
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>
drivers/base/regmap/regmap.c