]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
platform/x86: fujitsu-laptop: replace numeric values with constants
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 8 Feb 2017 13:46:28 +0000 (14:46 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 26 Feb 2017 15:01:07 +0000 (17:01 +0200)
commitd3dd4480f8a911198d85b3cdb97f22db6539d2d1
tree1901225f8f0a9bcb9a806cb26e5d7f613499edd2
parent8ef27bd3410c4e5856bac2315ef51224926020e0
platform/x86: fujitsu-laptop: replace numeric values with constants

Replace three repeating numeric values with constants to improve code
clarity.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
[kempniu: rebase patch, rewrite commit message]
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
drivers/platform/x86/fujitsu-laptop.c