mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
34a4958e4c
commit
0b496b4c95
2 changed files with 4 additions and 0 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue