]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: property: Rework acpi_graph_get_next_endpoint()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 1 Oct 2025 10:43:20 +0000 (13:43 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Oct 2025 14:57:00 +0000 (16:57 +0200)
commitb889ed5abf4796671b742692fdca35c4002892ee
tree285c3b7354ad64414d7dc8daff252983a711df21
parent5d010473cdeaabf6a2d3a9e2aed2186c1b73c213
ACPI: property: Rework acpi_graph_get_next_endpoint()

Rework the code obtaining the next endpoint in
acpi_graph_get_next_endpoint(). The resulting code removes unnecessary
contitionals and should be easier to follow.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patch.msgid.link/20251001104320.1272752-4-sakari.ailus@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/property.c