commit | 2b4f43131da08881423213dace0a514f325fe134 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Sep 08 08:48:00 2014 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Sep 08 15:40:18 2014 +0200 |
tree | 465bc5ec27966963816e5f838d72695cea9084ea | |
parent | 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd [diff] |
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>