commit | eb357cbaf7018342699386e93d292233181e8262 | [log] [tgz] |
---|---|---|
author | Michał Kępień <kernel@kempniu.pl> | Wed Jan 11 09:59:30 2017 +0100 |
committer | Darren Hart <dvhart@linux.intel.com> | Sat Feb 04 02:47:17 2017 +0100 |
tree | 35f1332dd9ce9f0f22f280a2ff2834de2bf65a62 | |
parent | 5c461e8e74a6a67cbd31ce0c9db5f8d0a41dccdd [diff] |
platform/x86: fujitsu-laptop: decrease indentation in acpi_fujitsu_hotkey_notify() acpi_fujitsu_hotkey_notify() is pretty deeply nested, which hurts readability. Strip off one level of indentation by returning early when the event code supplied as argument is not ACPI_FUJITSU_NOTIFY_CODE1. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Acked-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Darren Hart <dvhart@linux.intel.com>