Creating a common structure initialization pattern for struct option
authorSriram Raghunathan <sriram@marirs.net.in>
Fri, 23 Oct 2015 07:52:45 +0000 (09:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Nov 2015 01:28:59 +0000 (02:28 +0100)
commit57ab3b08725163bfe385aaeea6837f9b1213af3d
treeae161ce58eae6922ed2617c29d208c4fceb99012
parent19c9fb896f54ade387676f134ce1de9bcd3cd478
Creating a common structure initialization pattern for struct option

This patch tries to creates a common structure initialization
within the cpupower tool.

Previously the ``struct option`` was initialized
using `designated initializer` technique which was
not needed. There were conflicting initialization methods seen with

bench/main.c & others.

Signed-off-by: Sriram Raghunathan <sriram@marirs.net.in>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/debug/i386/dump_psb.c
tools/power/cpupower/utils/cpufreq-info.c
tools/power/cpupower/utils/cpufreq-set.c
tools/power/cpupower/utils/cpuidle-info.c
tools/power/cpupower/utils/cpuidle-set.c
tools/power/cpupower/utils/cpupower-info.c
tools/power/cpupower/utils/cpupower-set.c