]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: intel: Use NSEC_PER_USEC for debounce calculus
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Aug 2019 13:41:50 +0000 (16:41 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Aug 2019 14:25:19 +0000 (17:25 +0300)
commit6a33a1d6d66a46157951388ce4c5f2674b251982
treea547cb3d53419a1cb4e602099786833c42a79e38
parent34e656703e85c0485b2903cd54e2c50c0bbe425b
pinctrl: intel: Use NSEC_PER_USEC for debounce calculus

Replace hard coded constants with self-explanatory names, i.e.
use NSEC_PER_USEC for debounce calculus.

While here, add a unit suffix to debounce period constant.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c