]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
device property: attach 'else if' to the proper 'if'
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Aug 2015 16:56:48 +0000 (19:56 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 23:46:39 +0000 (01:46 +0200)
commit7dc59dc938f034c69dcf9080d45b936882b7ffa3
treea82536b4ff65d2426a0249adaafbb3754fbe9f34
parent4f73b0654d8a954540d49bb0a300f31663423db9
device property: attach 'else if' to the proper 'if'

Obviously in the current place the 'else' keyword is redundant, though it seems
quite correct when we check if nval is in allowed range.

Reattach the condition branch there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/property.c