From: Josh Triplett Date: Wed, 21 Aug 2013 00:20:16 +0000 (-0700) Subject: turbostat: Add a helper to parse a single int out of a file X-Git-Tag: v3.14-rc1~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95aebc44e73b05d4e95774b983a63909de638808;p=pandora-kernel.git turbostat: Add a helper to parse a single int out of a file Many different chunks of code in turbostat open a file, parse a single int out of it, and close it. Factor that out into a common function. Signed-off-by: Josh Triplett Signed-off-by: Len Brown --- Reading git-diff-tree failed