aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLech Perczak <[email protected]>2024-08-26 17:42:45 +0200
committerGreg Kroah-Hartman <[email protected]>2024-09-03 10:47:10 +0200
commitd2e8590fd1048c5c0dba160edc6a48ee8305a1f0 (patch)
treefa90c58d7238074b81ad0355f1d20d218c8cd18a /drivers/fpga/fpga-bridge.c
parenteccdb0fd1c340155666533f5c60c5229d370baab (diff)
serial: sc16is7xx: convert bitmask definitions to use BIT() macro
Now that bit definition comments were cleaned up, convert bitmask definitions to use BIT() macro for clarity. Convert SC16IS7XX_IIR_ID_MASK to use GENMASK() macro - - while at that, realign comments. Compose SC16IS7XX_LSR_BRK_ERROR_MASK using aforementioned constants, instead of open-coding it, and remove now unneeded comments. Signed-off-by: Lech Perczak <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions