regmap: missing case statement

This new code is unreachable.  Presumably there was supposed to be a
case statement there similar to the earlier code.

Fixes: afcc00b91f ('regmap: add 64-bit mode support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Dan Carpenter 2015-12-12 15:59:43 +03:00 committed by Mark Brown
parent 01c377bfe2
commit 782035ea94
1 changed files with 1 additions and 0 deletions

View File

@ -844,6 +844,7 @@ struct regmap *__regmap_init(struct device *dev,
} }
break; break;
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
case 64:
switch (val_endian) { switch (val_endian) {
case REGMAP_ENDIAN_BIG: case REGMAP_ENDIAN_BIG:
map->format.format_val = regmap_format_64_be; map->format.format_val = regmap_format_64_be;