commit | 70434ab9de795b205608067d9a5e067f30ad3629 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Jul 10 01:12:06 2020 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Jul 11 21:30:21 2020 +0900 |
tree | c14ec520fcdb5d89e38a91256f195b9b11a7d40b | |
parent | d7877c985b1671a427f97f04ef12aa8ad25d6e0e [diff] |
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: Masahiro Yamada <yamada.masahiro@socionext.com>