spi: spi-qpic-snand: avoid double assignment in qcom_spi_probe()

The snandc->dev pointer is being assigned twice in the qcom_spi_probe()
function. Remove the second assignment as that uses the same pointer
value than the first one.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://patch.msgid.link/20250808-qpic-snand-double-assign-fix-v2-1-1a3d0ed0d404@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Gabor Juhos
2025-08-08 15:15:32 +02:00
committed by Mark Brown
parent 91e5722baa
commit a1d0b0ae65

View File

@@ -1549,7 +1549,6 @@ static int qcom_spi_probe(struct platform_device *pdev)
}
snandc->props = dev_data;
snandc->dev = &pdev->dev;
snandc->core_clk = devm_clk_get(dev, "core");
if (IS_ERR(snandc->core_clk))