lkml.org 
[lkml]   [2021]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 3/3] gpiolib: acpi: Replace custom code with device_match_acpi_handle()
On Thu, Oct 07, 2021 at 06:50:46PM +0200, Rafael J. Wysocki wrote:
> On Wed, Oct 6, 2021 at 7:31 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:

...

> > + return gc->parent ? device_match_acpi_handle(gc->parent, data) : false;
>
> return gc->parent && device_match_acpi_handle(gc->parent, data);
>
> would work too if I'm not mistaken.

Seems so.

Thanks for review, I will update for v3.
Any other comments to the series?

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2021-10-07 19:21    [W:0.106 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site