diff options
author | Zhang Rui <rui.zhang@intel.com> | 2013-09-25 20:39:49 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-25 19:40:13 +0200 |
commit | 331e0ea243ed15bbf0958f46861505f2065e99f8 (patch) | |
tree | b93e8f1128d8b9a0b34206e44ed4092cd2458927 /drivers/acpi/acpi_platform.c | |
parent | 75a11f11a49da9862ff2fbae75428076571cebe4 (diff) | |
download | linux-331e0ea243ed15bbf0958f46861505f2065e99f8.tar.bz2 |
ideapad_laptop: remove ideapad_handle and ideapad_priv
The current code use ideapad_handle and ideapad_priv to store
some information for the ideapad device.
But as they are global/static variables, the driver will be broken
if there are more than one ideapad ACPI device node on a platform.
Although this does not happen for now and may not happen in the future,
but still, this is a software bug.
Remove these two variables in this patch.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
CC: Matthew Garrett <matthew.garrett@nebula.com>
CC: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_platform.c')
0 files changed, 0 insertions, 0 deletions