diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-08-01 19:02:38 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-08-01 17:14:57 -0700 |
commit | fc25f9e1811b4094dfef6087d64597b791f80f71 (patch) | |
tree | 7d83b81909a156bfbc1fa079a8e3f03dedd50068 /drivers/mfd | |
parent | 8438609f60bb2812b8772bad87df6c04270279ea (diff) |
mfd: tps65090: do not provide num_reg_defaults_raw for regmap init
There is no default data for tps65090 which is provided during
regmap init and hence it is not require to provide the information
about .num_reg_defaults_raw for caching. Cachign of register will
be done during access of registers.
This will avoid the warning
tps65090 4-0048: No cache defaults, reading back from HW
bug 1249589
Change-Id: Ida19a1fe8bdb9958db993f5506d92fb1655a03fb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/256858
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/tps65090.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index 1acdfe7e8d6c..d8c07377da9e 100644 --- a/drivers/mfd/tps65090.c +++ b/drivers/mfd/tps65090.c @@ -207,7 +207,6 @@ static const struct regmap_config tps65090_regmap_config = { .reg_bits = 8, .val_bits = 8, .max_register = TOTAL_NUM_REG, - .num_reg_defaults_raw = TOTAL_NUM_REG, .cache_type = REGCACHE_RBTREE, .volatile_reg = is_volatile_reg, }; |