lkml.org 
[lkml]   [2024]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 3/9] iio: pressure: bmp280: Make error checks consistent
On Wed,  8 May 2024 18:52:01 +0200
Vasileios Amoiridis <vassilisamir@gmail.com> wrote:

> The form 'if (ret)' is used in this driver in order to check
> for returned error values. There are also some places that
> 'if (ret < 0)' is used but for no specific reason. Change
> them to 'if (ret)' to make the driver more consistent.
>
> Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Applied.

Thanks,

\
 
 \ /
  Last update: 2024-05-27 18:25    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog