[PATCH v5 5/7] arm,arm64,drivers: reduce scope of cap_parsing_failed

2017-05-31 Thread Juri Lelli
Reduce the scope of cap_parsing_failed (making it static in drivers/base/arch_topology.c) by slightly changing {arm,arm64} DT parsing code. For arm checking for !cap_parsing_failed before calling normalize_ cpu_capacity() is superfluous, as returning an error from parse_ cpu_capacity() (above)

[PATCH v5 5/7] arm,arm64,drivers: reduce scope of cap_parsing_failed

2017-05-31 Thread Juri Lelli
Reduce the scope of cap_parsing_failed (making it static in drivers/base/arch_topology.c) by slightly changing {arm,arm64} DT parsing code. For arm checking for !cap_parsing_failed before calling normalize_ cpu_capacity() is superfluous, as returning an error from parse_ cpu_capacity() (above)