diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2016-02-01 00:58:41 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-03-16 11:50:34 +0300 |
commit | a862dc3ea793256a1364991f52e68198a2c5f27d (patch) | |
tree | 551c33f00299bc5ccee3e7fc4877d956e58528b5 /drivers/mfd/da903x.c | |
parent | 99f0fd540f53985443f36f96c0da209665e2dbfa (diff) | |
download | linux-a862dc3ea793256a1364991f52e68198a2c5f27d.tar.xz |
mfd: rc5t583: Set regmap config reg counts properly
Regmap config max_register field should contain number of
device last register, however num_reg_defaults_raw field
should be set to register count instead
(usually one register more than max_register).
rc5t583 driver had both of these fields set to the same value,
fix this by introducing separate defines for max register
number and total count of registers.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/da903x.c')
0 files changed, 0 insertions, 0 deletions