Re: [PATCH v5 3/3] iio: acpi_als: Add trigger support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 29, 2020 at 7:52 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On Tue, 29 Dec 2020 19:33:39 +0200
> Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:

...

> It's not the same. As stated it's the inverse condition.  Could add some brackets
> and a ! or, flip the logic of the whole if condition and not return early.

My bad, you are right.
I think I had something in mind about indentation as well, perhaps a
separate function or so...

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux