]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 11 Jul 2022 11:25:59 +0000 (14:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:37:58 +0000 (11:37 +0200)
commitb0c3eec4ac6971821089f4f7f7acf3d3cb79d5d3
treea4d38c4906a62613281d13e5661eb6f0b2f1121b
parentcc0bfd933c815b4ec8868b189da65db426cd1ff3
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: 445b0eb058f5 ("ACPI / property: Add support for data-only subnodes")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/property.c