diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-12-02 19:42:47 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-06 22:13:58 +0100 |
commit | 2fb65f09c2c6eaba5fcf848aa615f4837d540576 (patch) | |
tree | 3589139e21a178b74a440027fa6861bfa3e7da81 /drivers/mfd/max8998.c | |
parent | 5dcb9ca8403c31f4a9a6e21b0057be3bdefb7414 (diff) |
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>
Diffstat (limited to 'drivers/mfd/max8998.c')
0 files changed, 0 insertions, 0 deletions