]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware-baytrail: describe magic numbers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Feb 2015 17:06:06 +0000 (19:06 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 7 Mar 2015 00:07:07 +0000 (01:07 +0100)
commit61b85b04401c4f8c4cbb31d174e4a4ce68d2efdf
tree036ef43c4a3b9cce74039bafd9a3e3523f100f90
parent2e43d41fdf5d9bb7497bcfbed64b6a1a7c85de82
i2c: designware-baytrail: describe magic numbers

The patch converts hardcoded numerical constants to a named ones.

While here, align the variable name in get_sem() and reset_semaphore().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-baytrail.c