regmap: mmio: remove the useless code

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Xiubo Li
2015-12-08 17:05:50 +00:00
committed by Mark Brown
parent 29bb45f25f
commit 9d98fa7129
-1
View File
@@ -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);
}