]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Convert to use predefined time multipliers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 13:11:20 +0000 (16:11 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 09:06:52 +0000 (10:06 +0100)
commit0e590ae9f4a89bf8ec5a38adf4ef25ef428f97b6
tree920792f737a10d4a6c2c3bad706697a3b460a26c
parenta1ca2a2f0005aedf8fff8509e73b0d021eafb1a0
spi: Convert to use predefined time multipliers

We have a lot of hard coded values in nanoseconds or other units.
Use predefined constants to make it more clear.

While at it, add or amend comments in the corresponding functions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210510131120.49253-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c