Skip to content
Commit 96912a9c authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

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: 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