]> 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)
commit1eff1eb6511559ab94911457f6ed05808f1e7a04
tree166ea588eabb771aa84ee5ab9de80e9a988c5c90
parentf152847676075fd4cd743a3aa0b0783ed2e448f7
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