commit | d1eb93bad135f615cc3750f351b613e458c37c67 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sat Aug 19 16:39:13 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 06 13:47:44 2023 -0400 |
tree | 65e9615d3a12c5a62fc5a8fd9f828a9001c00700 | |
parent | 59e693352400b40cdb4f6f833a2f32451fa4d7e1 [diff] |
ARM: rmobile: Clean up rmobile_cpuinfo_idx() Clean the function up a bit further. Return immediately on match and return ARRAY_SIZE() - 1 on failure. Add proper comment in that case. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>