ACPI: watchdog: Replace open coded variant of resource_union()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Nov 2020 20:45:10 +0000 (22:45 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Nov 2020 17:06:29 +0000 (18:06 +0100)
commitf7499785c8915ef4bda3cfa34c814350f07368fd
tree6d7b68d2eb00fca2a812b492a43ecb9dd3c3d55b
parent07aec68ecf35a2cee5173001c70e3d7b345b3d05
ACPI: watchdog: Replace open coded variant of resource_union()

Since we have resource_union() helper, let's utilize it here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_watchdog.c