diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-06 01:16:18 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 11:23:50 +0400 |
commit | 0b496b4c95c74ba795bc642a6092263ebf905759 (patch) | |
tree | b372fddfa8621307155ef6b5ac53c583e734f174 /drivers/mfd/tps65217.c | |
parent | 34a4958e4cfe1a379ed18fb3e2d0b93ba08f28d3 (diff) | |
download | linux-0b496b4c95c74ba795bc642a6092263ebf905759.tar.xz |
mfd: tps65217: Tell regmap what registers are valid
Allow regmap to provide debugfs access to the register map by telling it
what registers are valid.
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tps65217.c')
-rw-r--r-- | drivers/mfd/tps65217.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index 3cc4c7084b92..a8ee52c95f2f 100644 --- a/drivers/mfd/tps65217.c +++ b/drivers/mfd/tps65217.c @@ -146,6 +146,8 @@ EXPORT_SYMBOL_GPL(tps65217_clear_bits); static struct regmap_config tps65217_regmap_config = { .reg_bits = 8, .val_bits = 8, + + .max_register = TPS65217_REG_MAX, }; static const struct of_device_id tps65217_of_match[] = { |