Thread (5 messages) 5 messages, 3 authors, 2025-12-27

Re: [PATCH 3/3] iio: adc: rockchip: Simplify probe() with local 'dev'

From: Heiko Stuebner <heiko@sntech.de>
Date: 2025-12-22 11:50:41
Also in: linux-aspeed, linux-iio, linux-rockchip, linux-samsung-soc, lkml

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 <redacted>
Yep, makes the code definitly nicer to read

Reviewed-by: Heiko Stuebner <heiko@sntech.de>


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help