i2c: designware: Switch header to use BIT() and GENMASK()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Dec 2020 14:03:35 +0000 (16:03 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 9 Dec 2020 20:53:14 +0000 (21:53 +0100)
commita5df4c14b9a9c576cd8229deb87da21aeb8aa82c
tree4b5bc8139423e0bbd9cb23e35eba548870de01cb
parent0b01392c18b9993a584f36ace1d61118772ad0ca
i2c: designware: Switch header to use BIT() and GENMASK()

Currently header file uses partially BIT() and GENMASK() macros.
Switch it to use those macros in all cases where it's applicable
for the sake of consistency.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-core.h