aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
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 /drivers/base
parentregmap-mmio: Use native endianness for read/write (diff)
downloadlinux-dev-9d98fa712920a393591f446fa76cb277309dd37b.tar.xz
linux-dev-9d98fa712920a393591f446fa76cb277309dd37b.zip
regmap: mmio: remove the useless code
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base')
-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 8a77876d439a..dc991c3bec25 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);
}