aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <[email protected]>2022-08-25 14:46:16 -0400
committerMatthias Brugger <[email protected]>2022-08-26 17:32:12 +0200
commita92438c5a30a27b6791da025306a45478a6ac7a4 (patch)
tree7da7b9ba51d789e5d55b7fcc52e0e16801abab3a /net/lapb/lapb_timer.c
parent43819e3853306625275f1ada7416453117a9aabf (diff)
soc: mediatek: mtk-svs: Use bitfield access macros where possible
In order to enhance readability and safety during registers setup and value retrieval, redefine a few register related macros and convert all open-coded instances of bitfield setting/retrieval to use the FIELD_PREP() and FIELD_GET() macros. While at it, some macros were renamed to further enhance readability. This commit brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: NĂ­colas F. R. A. Prado <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions