lkml.org 
[lkml]   [2022]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 10/16] ACPI: bus: Introduce acpi_dev_for_each_child_reverse()
On Thu, Jun 09, 2022 at 04:06:21PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> Make it possible to walk the children of an ACPI device in the revese
> order by defining acpi_dev_for_each_child_reverse() in analogy with
> acpi_dev_for_each_child().

...

> + return device_for_each_child_reverse(&adev->dev, &adwc,
> + acpi_dev_for_one_check);

Perhaps one line?

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-06-09 17:41    [W:0.269 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site