[PATCH 3/3] iio: adc: rockchip: Simplify probe() with local 'dev'
Heiko Stuebner
heiko at sntech.de
Mon Dec 22 03:50:07 PST 2025
Am Sonntag, 21. Dezember 2025, 15:26:05 Mitteleuropäische Normalzeit schrieb Krzysztof Kozlowski:
> Simplify the probe function by using a local 'dev' variable instead of
> full pointer dereference. This makes several lines shorter, which
> allows to avoid wrapping making code more readable.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Yep, makes the code definitly nicer to read
Reviewed-by: Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list