From: Xiubo Li Date: Thu, 3 Dec 2015 05:27:20 +0000 (+0800) Subject: regmap: mmio: remove the useless code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d98fa712920a393591f446fa76cb277309dd37b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regmap: mmio: remove the useless code Signed-off-by: Xiubo Li Signed-off-by: Mark Brown --- 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); }