]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal/drivers/generic-adc: Simplify probe() with local dev variable
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 9 Jul 2024 12:59:41 +0000 (14:59 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 15 Jul 2024 11:31:41 +0000 (13:31 +0200)
commitf637bfe26c23c8e4a38076da286f6a0de1291323
tree7f316eace8de7210bfceac691d392f6b9476282f
parentbc55630c657a7f81e65b6993e8113f453cdcef4b
thermal/drivers/generic-adc: Simplify probe() with local dev variable

Simplify the probe() function by using local 'dev' instead of
&pdev->dev.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240709-thermal-probe-v1-11-241644e2b6e0@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal-generic-adc.c