commit | e27d6c7d328caf75bd7680109bc6610bc681f46e | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Jan 21 18:05:26 2017 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Sun Jan 22 16:49:27 2017 +0900 |
tree | 0e199c982bc274b223123ce027e2f9263c961356 | |
parent | d9a70368dbe4a9b0e81b60ffbe3fda4a09e0ad5a [diff] |
ARM: uniphier: simplify SoC ID get function Currently, uniphier_get_soc_type() converts the SoC ID (this is read from the revision register) to an enum symbol to use it for SoC identification. Come to think of it, there is no need for the conversion in the first place. Using the SoC ID from the register as-is a straightforward way. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>