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-03 13:27:20 +08:00 committed by Mark Brown
parent 29bb45f25f
commit 9d98fa7129

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);
}