Skip to content
Commit 733fab71 authored by Marek Vasut's avatar Marek Vasut
Browse files

ARM: rmobile: Clean up rmobile_cpuinfo_idx()



Clean the function up a bit further. Return immediatelly on match
and return ARRAY_SIZE() - 1 on failure. Add proper comment in that
case.

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: default avatarPaul Barker <paul.barker.ct@bp.renesas.com>
parent b53ab971
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