diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-09-08 08:48:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-08 15:40:18 +0200 |
commit | 2b4f43131da08881423213dace0a514f325fe134 (patch) | |
tree | 465bc5ec27966963816e5f838d72695cea9084ea /kernel/power | |
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>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions