gpio: pch: Use BIT() and GENMASK() where it's appropriate
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 Apr 2020 17:48:57 +0000 (20:48 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Apr 2020 17:40:14 +0000 (20:40 +0300)
commit5c85418ab35bc84d33947e45b2e0ffe55aa8a484
treefc6f304cb7c381ba5c8c8ccd8dbe441c1a390b71
parent9b6d5690b543b8fbf3daf8fc2d7ec7b59b3a3467
gpio: pch: Use BIT() and GENMASK() where it's appropriate

Use BIT() and GENMASK() where it's appropriate.
At the same time drop it where it's not appropriate.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-pch.c