diff options
author | Subbaraman Narayanamurthy <[email protected]> | 2021-02-05 10:08:53 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-05 11:25:52 +0100 |
commit | e2057ee29973b9741d43d3f475a6b02fb46a0e61 (patch) | |
tree | cd68c163c368c691d2ee415835b97dee3251ae66 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b31f1eb41c140d7979f855df73064b3a3ae8055a (diff) |
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: 40ce9798794f ("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]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions