ACPI: platform: Remove redundant print on -ENOMEM
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 31 Aug 2022 14:03:25 +0000 (17:03 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 3 Sep 2022 18:53:17 +0000 (20:53 +0200)
commit1d190148cc22495a01668417243121ad0ad5df01
tree2429a14e82ed3c8a2b20ec511d6937765bb00a47
parentf3bc9ca5285de3b3a149f18c60c05ab57b0a0a4e
ACPI: platform: Remove redundant print on -ENOMEM

We rely on somebody else to print enough information on memory
allocation failures. So remove the log in
the acpi_create_platform_device() when return -ENOMEM.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c