Commit 092b76a
tools/power turbostat: Cleanup print helper functions
Make printer helper functions more readable by factoring
out a local 'sep' variable.
Remove the redundant parentheses around sprintf() calls.
Remove an unnecessary cast to "unsigned int" by using the '%08llx' instead
of '%08x'.
No functional changes.
[lenb: fix typos, simplify]
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>1 parent 08e11ed commit 092b76a
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2866 | 2866 | | |
2867 | 2867 | | |
2868 | 2868 | | |
| 2869 | + | |
2869 | 2870 | | |
2870 | 2871 | | |
2871 | | - | |
| 2872 | + | |
2872 | 2873 | | |
2873 | | - | |
| 2874 | + | |
2874 | 2875 | | |
2875 | 2876 | | |
2876 | 2877 | | |
2877 | 2878 | | |
| 2879 | + | |
| 2880 | + | |
2878 | 2881 | | |
2879 | | - | |
| 2882 | + | |
2880 | 2883 | | |
2881 | | - | |
| 2884 | + | |
2882 | 2885 | | |
2883 | 2886 | | |
2884 | 2887 | | |
2885 | 2888 | | |
| 2889 | + | |
| 2890 | + | |
2886 | 2891 | | |
2887 | 2892 | | |
2888 | | - | |
| 2893 | + | |
2889 | 2894 | | |
2890 | 2895 | | |
2891 | 2896 | | |
2892 | 2897 | | |
2893 | | - | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
2894 | 2901 | | |
2895 | 2902 | | |
2896 | 2903 | | |
| |||
0 commit comments