summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiubo Li <lixiubo@cmss.chinamobile.com>2015-12-03 13:27:20 +0800
committerMark Brown <broonie@kernel.org>2015-12-08 17:05:50 +0000
commit9d98fa712920a393591f446fa76cb277309dd37b (patch)
tree6f7eabae3841e766f6baca75fe7a7b9bcdea87ee
parent29bb45f25ff3051354ed330c0d0f10418a2b8c7c (diff)
downloadop-kernel-dev-9d98fa712920a393591f446fa76cb277309dd37b.zip
op-kernel-dev-9d98fa712920a393591f446fa76cb277309dd37b.tar.gz
regmap: mmio: remove the useless code
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/base/regmap/regmap-mmio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c
index 8a77876..dc991c3 100644
--- a/drivers/base/regmap/regmap-mmio.c
+++ b/drivers/base/regmap/regmap-mmio.c
@@ -247,7 +247,6 @@ static struct regmap_mmio_context *regmap_mmio_gen_context(struct device *dev,
min_stride = 8;
break;
#endif
- break;
default:
return ERR_PTR(-EINVAL);
}
OpenPOWER on IntegriCloud