Re: [PATCH v3 4/8] iio: tcs3472: use ! instead of explicit NULL check

Jonathan Cameron <[email protected]>
Newsgroups dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <20260526135844.4ce0139c@jic23-huawei>
On Fri, 22 May 2026 14:34:15 +0200
Aldo Conte <[email protected]> wrote:

> Replace 'if (indio_dev == NULL)' with 'if (!indio_dev)' in
> tcs3472_probe() to follow the preferred kernel style.
> 
> No functional change.
> 
> Suggested-by: Joshua Crofts <[email protected]>
> Signed-off-by: Aldo Conte <[email protected]>
Applied.
Thanks,
J
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.