Re: [PATCH] regulator: max77620: Fix regulator info setting for max20024

2019-03-21 Thread Axel Lin
Axel Lin 於 2019年2月24日 週日 上午9:27寫道: > > 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 > --- > drivers/regulator/max77620-regulator.c | 2 +- > 1 file chang

[PATCH] regulator: max77620: Fix regulator info setting for max20024

2019-02-23 Thread Axel Lin
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 --- drivers/regulator/max77620-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive