HID: cp2112: Use BIT() in GPIO setter and getter
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2023 18:52:19 +0000 (21:52 +0300)
committerBenjamin Tissoires <bentiss@kernel.org>
Fri, 28 Jul 2023 15:05:48 +0000 (17:05 +0200)
commite19c6bd4e3760a37c59808da1ee3e7dd799348ae
treefcbe8e972f2b06962ba2ee517dbc7991d6af47cc
parentee0682b0f241e35c3775f77acf71b20cf4d6830e
HID: cp2112: Use BIT() in GPIO setter and getter

Use BIT() in GPIO setter and getter for the sake of consistency
with GENMASK() usage elsewhere in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230703185222.50554-10-andriy.shevchenko@linux.intel.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-cp2112.c