platform/x86: asus-wmi: Use clamp_val() instead of open coded variant
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Aug 2019 11:10:03 +0000 (14:10 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Aug 2019 11:20:31 +0000 (14:20 +0300)
commit2275752004ab216c667cfdba378c5199f9068e96
treec3cef5cd834a36a434cb8960cc7d2a2a582c1bef
parenta5556fa1107d5b9cda75632c6ece1b4612dd1607
platform/x86: asus-wmi: Use clamp_val() instead of open coded variant

There is no need to open code clamp_val() macro implementation.
Replace the corresponding lines with direct call to clamp_val().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wmi.c