diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2016-01-31 23:00:06 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-03-16 09:50:36 +0100 |
commit | 5c1488906f852473b4d7837c3e33e411e0eb6910 (patch) | |
tree | 3d47aefe6fa478fdcbb2d6454604743948fcb1a3 /mm/vmpressure.c | |
parent | mfd: syscon: Return ENOTSUPP instead of ENOSYS when disabled (diff) | |
download | linux-5c1488906f852473b4d7837c3e33e411e0eb6910.tar.xz linux-5c1488906f852473b4d7837c3e33e411e0eb6910.zip |
mfd: tps65090: 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).
tps65090 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 'mm/vmpressure.c')
0 files changed, 0 insertions, 0 deletions