Re: [RESEND PATCH] nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer

2021-02-04 Thread Srinivas Kandagatla
On 03/02/2021 18:15, Subbaraman Narayanamurthy wrote: "sdam->pdev" is uninitialized and it is used to print error logs. Fix it. Since device pointer can be used from sdam_config, use it directly thereby removing pdev pointer. Cc: sta...@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy

[RESEND PATCH] nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer

2021-02-03 Thread Subbaraman Narayanamurthy
"sdam->pdev" is uninitialized and it is used to print error logs. Fix it. Since device pointer can be used from sdam_config, use it directly thereby removing pdev pointer. Cc: sta...@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy --- drivers/nvmem/qcom-spmi-sdam.c | 7 +++ 1 file c