Searched hist:e2057ee29973b9741d43d3f475a6b02fb46a0e61 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/nvmem/ |
H A D | qcom-spmi-sdam.c | diff e2057ee29973b9741d43d3f475a6b02fb46a0e61 Fri Feb 05 04:08:53 CST 2021 Subbaraman Narayanamurthy <subbaram@codeaurora.org> 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: stable@vger.kernel.org Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210205100853.32372-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|