[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5782401.ejJDZkT8p0@phil>
Date: Mon, 22 Dec 2025 12:50:07 +0100
From: Heiko Stuebner <heiko@...ech.de>
To: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...econstruct.com.au>,
Krzysztof Kozlowski <krzk@...nel.org>, Alim Akhtar <alim.akhtar@...sung.com>,
Philipp Zabel <p.zabel@...gutronix.de>, linux-iio@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-rockchip@...ts.infradead.org,
Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Subject: Re: [PATCH 3/3] iio: adc: rockchip: Simplify probe() with local 'dev'
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@....qualcomm.com>
Yep, makes the code definitly nicer to read
Reviewed-by: Heiko Stuebner <heiko@...ech.de>
Powered by blists - more mailing lists