commit | 734008e714d8c757613c43ff57c1bf7ef1bb5b5d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Apr 22 13:35:31 2019 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Apr 25 20:05:43 2019 +0100 |
tree | d6009ef353919b5147a21b5fbcafab346eb16b32 | |
parent | 78927aa40bc82f32de07323ddc1c9de07ac68180 [diff] |
regulator: max77620: Fix regulator info setting for max20024 Current code always set pmic->rinfo[id] = &max77620_regs_info[id]; It should set to either max77620_regs_info or max20024_regs_info depends on the chip_id. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>