summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-09-08 08:48:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-08 15:40:18 +0200
commit2b4f43131da08881423213dace0a514f325fe134 (patch)
tree465bc5ec27966963816e5f838d72695cea9084ea /kernel
parent2ce7598c9a453e0acd0e07be7be3f5eb39608ebd (diff)
downloadtalos-op-linux-2b4f43131da08881423213dace0a514f325fe134.tar.gz
talos-op-linux-2b4f43131da08881423213dace0a514f325fe134.zip
PM / sysfs: avoid shadowing variables
The global variable "enabled" is shadowed in a number of functions in this file, rename it to "_enabled" to avoid that. For consistency, also rename "disabled" and move them both into the #ifdef where they're needed. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud