ACPI / LPSS: make code less confusing for reader
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Mar 2013 12:14:30 +0000 (12:14 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:21:49 +0000 (00:21 +0100)
commitcf8df962aa830d05be1a8d5a9c7d2a67b2837b45
treea3ce8c148927be8bf3360511d2cd18f464aada97
parent2e0f8822d1a6d839e66786e99ce1043e4ad1cd72
ACPI / LPSS: make code less confusing for reader

The excerpt like this:

if (err) {
err = 0;
goto error_out;
}

makes a reader confused even if it's commented. Let's do necessary actions and
return no error explicitly.

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