8250_dwlib: Convert bitops to newer form
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 30 Jun 2022 10:05:36 +0000 (13:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jun 2022 15:11:03 +0000 (17:11 +0200)
commite9f9736679566cfa4158a40820cd50a46e601349
tree3c6c98522f0e80b51591716b3a851a2a8aa2fc9b
parent808313bc2182ab60761eed82d2c345883fbc65a7
8250_dwlib: Convert bitops to newer form

Instead of open-coding, use BIT(), GENMASK(), and FIELD_GET() helpers.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220630100536.41329-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dwlib.c