When CPU frequency info under /sys is available, use the real value instead of default value. Signed-off-by: Kelvin Cheung keguang.zh...@gmail.com Signed-off-by: Keguang Zhang keguang.zh...@spreadtrum.com
----------------github------------------------ /** Email created from pull request 171 (kelvincheung:master) ** https://github.com/Linaro/odp/pull/171 ** Patch: https://github.com/Linaro/odp/pull/171.patch ** Base sha: d6e2cd7830bd474e78980414ad7046443a4a3720 ** Merge commit sha: b4c1e346698b9fe1d192b04c6ce6a5cf6965f3f7 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ WARNING: Missing a blank line after declarations #40: FILE: platform/linux-generic/odp_system_info.c:332: + char temp[256], *endptr = NULL; + snprintf(temp, sizeof(temp), total: 0 errors, 1 warnings, 0 checks, 30 lines checked to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ----------------/checkpatch.pl------------------------