]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6af94e06274d701e052005bfa4872b743a876ac4
tree8deaaec2a4ef85f0c5a378f6385f1d7dcec8040c
parent614743b7829b739fd800f26b861ab9364b16c243
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