Re: [PATCH 1/2] ASoC: renesas: adg: Drop redundant NULL check on clk_get and clk_register_fixed_rate

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
On Sun, Jul 05, 2026 at 07:23:26PM +0200, Krzysztof Kozlowski wrote:
> devm_clk_get() and clk_register_fixed_rate() do not return NULL (only
> valid clock or ERR pointer), so simplify the code to drop redundant
> IS_ERR_OR_NULL().

The two patches here aren't obviously related and should probably have
been sent independently.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpNc6sACgkQJNaLcl1U
h9DKyQf8D8SFSnDWgLpb24bUzc0z8xEmhX482RB3IdiW0Pd1Q1csJOgkLn+wvBPD
07s4cL7KvZdFvfQsLeiLEmp4ZdwOZK92MArKDMgZtGH8J7ZPimiQg46aP5uPZfNr
9ERKkteF5Vh3SM8vvZHHjZ2KsGQMVoajk/A61xVxrvT7rXjU9s0wwjqmWSwEPjDH
nBaNSgFR9owOKthresvEXkFjOrYEXq79vUv/puF/25rveunEOL1RkPluMXyvBVdk
ETnvSNn1R3kuvkLlvy6AtPacj9z3MvLKD/sGHgage6jUUlvcOO9csnuw4d6BqNmi
v5MkqHz9AQFZPhFRV3fKXTPM8n+k4A==
=exgB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.