Skip to content
Commit 70434ab9 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

serial: uniphier: use register macros instead of structure



After all, I am not a big fan of using a structure to represent the
hardware register map.

You do not need to know the entire register map.

Add only necessary register macros.

Use FIELD_PREP() instead of maintaining a pair of shift and mask.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent d7877c98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment