]> git.karo-electronics.de Git - karo-tx-linux.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)
commit9b5c9f043e7a70665b2eb092f316d5d5cd238d49
tree036ef43c4a3b9cce74039bafd9a3e3523f100f90
parent13a7a6ac0a11197edcd0f756a035f472b42cdf8b
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