Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer
"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. Fixes: 40ce979 ("nvmem: add QTI SDAM driver") Cc: [email protected] Signed-off-by: Subbaraman Narayanamurthy <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information