]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc659097746c82ba59f74f51d91f06e8d77eb17af
tree3c6c98522f0e80b51591716b3a851a2a8aa2fc9b
parent55a1f7c9a305aedd8860cb64e8f23a04f7a6df6d
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