cpufreq: intel_pstate: Expose global sysfs attributes upfront
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 Jan 2017 03:12:16 +0000 (04:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Feb 2017 23:05:30 +0000 (00:05 +0100)
commit0c30b65b3c8e5b8c72f39497aa8c61a662b6bcc0
tree8deaaec2a4ef85f0c5a378f6385f1d7dcec8040c
parent052f573f5cca0ce0a16de409012660565bd792df
cpufreq: intel_pstate: Expose global sysfs attributes upfront

Expose the intel_pstate's global sysfs attributes before registering
the driver to prepare for the addition of an attribute that also will
have to work if the driver is not registered.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c