serial: 8250_exar: Use BIT() in exar_ee_read()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 May 2024 17:16:03 +0000 (20:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2024 16:09:30 +0000 (18:09 +0200)
commit3c089d7ebfcb31ad6fb0530970a32303b1168991
tree9cac0515b354e6576597ce0e25b169d4b1de1e1c
parentd72c3018300e86590b2d5037fe959d040e50cd33
serial: 8250_exar: Use BIT() in exar_ee_read()

Use BIT() in exar_ee_read() like other functions do.

While at it, explain the EEPROM type and the dummy bit requirement.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Parker Newman <pnewman@connecttech.com>
Link: https://lore.kernel.org/r/20240503171917.2921250-12-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c