]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Aug 2022 14:11:29 +0000 (17:11 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Sep 2022 18:51:07 +0000 (20:51 +0200)
commitcd7bbd06a66a2803cea77a5c47aa20a261265b1b
tree166ea588eabb771aa84ee5ab9de80e9a988c5c90
parentdb364713322cf6ce56ae5572b220180b9c55a6f9
ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device()

Add a new label to deduplicate skipping device code in the
acpi_lpss_create_device(). No functional change intended.

While at it, convert the last conditional to use the classical
pattern, i.e.

if (err)
...handle err...

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