]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / osl: Refactor acpi_os_get_root_pointer() to drop 'else':s
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Dec 2016 17:42:47 +0000 (19:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2016 21:13:58 +0000 (22:13 +0100)
commit2fb65f09c2c6eaba5fcf848aa615f4837d540576
tree3589139e21a178b74a440027fa6861bfa3e7da81
parent5dcb9ca8403c31f4a9a6e21b0057be3bdefb7414
ACPI / osl: Refactor acpi_os_get_root_pointer() to drop 'else':s

There are few 'else' keywords which are redundant in
acpi_os_get_root_pointer(). Refactor function to get rid of them.

While here, switch to pr_err() instead of printk(KERN_ERR ...).

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