diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-05 17:16:18 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 03:23:50 -0400 |
commit | 0b496b4c95c74ba795bc642a6092263ebf905759 (patch) | |
tree | b372fddfa8621307155ef6b5ac53c583e734f174 /drivers/mfd/tps65217.c | |
parent | 34a4958e4cfe1a379ed18fb3e2d0b93ba08f28d3 (diff) |
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); | |||
146 | static struct regmap_config tps65217_regmap_config = { | 146 | static struct regmap_config tps65217_regmap_config = { |
147 | .reg_bits = 8, | 147 | .reg_bits = 8, |
148 | .val_bits = 8, | 148 | .val_bits = 8, |
149 | |||
150 | .max_register = TPS65217_REG_MAX, | ||
149 | }; | 151 | }; |
150 | 152 | ||
151 | static const struct of_device_id tps65217_of_match[] = { | 153 | static const struct of_device_id tps65217_of_match[] = { |