diff options
| author | Johannes Berg <[email protected]> | 2014-09-08 06:48:00 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2014-09-08 13:40:18 +0000 |
| commit | 2b4f43131da08881423213dace0a514f325fe134 (patch) | |
| tree | 465bc5ec27966963816e5f838d72695cea9084ea /lib/string.c | |
| parent | Linux 3.17-rc4 (diff) | |
| download | kernel-2b4f43131da08881423213dace0a514f325fe134.tar.gz kernel-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 <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
