Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 760a01c3 authored by Sakari Ailus's avatar Sakari Ailus Committed by Greg Kroah-Hartman
Browse files

ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool



commit 85140ef275f577f64e8a2c5789447222dfc14fc4 upstream.

The value acpi_add_nondev_subnodes() returns is bool so change the return
type of the function to match that.

Fixes: 445b0eb0 ("ACPI / property: Add support for data-only subnodes")
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49c1ae5f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ static bool acpi_nondev_subnode_ok(acpi_handle scope,
	return acpi_nondev_subnode_data_ok(handle, link, list, parent);
}

static int acpi_add_nondev_subnodes(acpi_handle scope,
static bool acpi_add_nondev_subnodes(acpi_handle scope,
				     const union acpi_object *links,
				     struct list_head *list,
				     struct fwnode_handle *parent)