commit | f2d670a18dc20f6644a00b6474a26e984012c0e8 | [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 | 98b5f3428b9dbe77ef72861081ac77a3efe1461b [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>