diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 14:26:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 14:26:56 -0500 |
commit | 8793422fd9ac5037f5047f80473007301df3689f (patch) | |
tree | f5aa3b3a564f053e1b5604c45db80193abc734a4 /drivers/platform | |
parent | b3cdda2b4f541439ca4205793040aa2e1c852e3b (diff) | |
parent | 10baf04e95fbf7eb6089410220a547211dd2ffa7 (diff) |
Merge tag 'pm+acpi-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI and power management updates from Rafael Wysocki:
- Rework of the ACPI namespace scanning code from Rafael J. Wysocki
with contributions from Bjorn Helgaas, Jiang Liu, Mika Westerberg,
Toshi Kani, and Yinghai Lu.
- ACPI power resources handling and ACPI device PM update from Rafael
J Wysocki.
- ACPICA update to version 20130117 from Bob Moore and Lv Zheng with
contributions from Aaron Lu, Chao Guan, Jesper Juhl, and Tim Gardner.
- Support for Intel Lynxpoint LPSS from Mika Westerberg.
- cpuidle update from Len Brown including Intel Haswell support, C1
state for intel_idle, removal of global pm_idle.
- cpuidle fixes and cleanups from Daniel Lezcano.
- cpufreq fixes and cleanups from Viresh Kumar and Fabio Baltieri with
contributions from Stratos Karafotis and Rickard Andersson.
- Intel P-states driver for Sandy Bridge processors from Dirk
Brandewie.
- cpufreq driver for Marvell Kirkwood SoCs from Andrew Lunn.
- cpufreq fixes related to ordering issues between acpi-cpufreq and
powernow-k8 from Borislav Petkov and Matthew Garrett.
- cpufreq support for Calxeda Highbank processors from Mark Langsdorf
and Rob Herring.
- cpufreq driver for the Freescale i.MX6Q SoC and cpufreq-cpu0 update
from Shawn Guo.
- cpufreq Exynos fixes and cleanups from Jonghwan Choi, Sachin Kamat,
and Inderpal Singh.
- Support for "lightweight suspend" from Zhang Rui.
- Removal of the deprecated power trace API from Paul Gortmaker.
- Assorted updates from Andreas Fleig, Colin Ian King, Davidlohr Bueso,
Joseph Salisbury, Kees Cook, Li Fei, Nishanth Menon, ShuoX Liu,
Srinivas Pandruvada, Tejun Heo, Thomas Renninger, and Yasuaki
Ishimatsu.
* tag 'pm+acpi-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (267 commits)
PM idle: remove global declaration of pm_idle
unicore32 idle: delete stray pm_idle comment
openrisc idle: delete pm_idle
mn10300 idle: delete pm_idle
microblaze idle: delete pm_idle
m32r idle: delete pm_idle, and other dead idle code
ia64 idle: delete pm_idle
cris idle: delete idle and pm_idle
ARM64 idle: delete pm_idle
ARM idle: delete pm_idle
blackfin idle: delete pm_idle
sparc idle: rename pm_idle to sparc_idle
sh idle: rename global pm_idle to static sh_idle
x86 idle: rename global pm_idle to static x86_idle
APM idle: register apm_cpu_idle via cpuidle
cpufreq / intel_pstate: Add kernel command line option disable intel_pstate.
cpufreq / intel_pstate: Change to disallow module build
tools/power turbostat: display SMI count by default
intel_idle: export both C1 and C1E
ACPI / hotplug: Fix concurrency issues and memory leaks
...
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-laptop.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/classmate-laptop.c | 10 | ||||
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/fujitsu-tablet.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/hp_accel.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/intel_menlow.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/panasonic-laptop.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/topstar-laptop.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/toshiba_bluetooth.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/wmi.c | 4 | ||||
-rw-r--r-- | drivers/platform/x86/xo15-ebook.c | 2 |
15 files changed, 25 insertions, 25 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index fcde4e528819..d9f9a0dbc6f3 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
@@ -1910,7 +1910,7 @@ fail_platform: | |||
1910 | return result; | 1910 | return result; |
1911 | } | 1911 | } |
1912 | 1912 | ||
1913 | static int asus_acpi_remove(struct acpi_device *device, int type) | 1913 | static int asus_acpi_remove(struct acpi_device *device) |
1914 | { | 1914 | { |
1915 | struct asus_laptop *asus = acpi_driver_data(device); | 1915 | struct asus_laptop *asus = acpi_driver_data(device); |
1916 | 1916 | ||
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index c87ff16873f9..36e5e6c13db4 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c | |||
@@ -432,7 +432,7 @@ failed_sensitivity: | |||
432 | return error; | 432 | return error; |
433 | } | 433 | } |
434 | 434 | ||
435 | static int cmpc_accel_remove_v4(struct acpi_device *acpi, int type) | 435 | static int cmpc_accel_remove_v4(struct acpi_device *acpi) |
436 | { | 436 | { |
437 | struct input_dev *inputdev; | 437 | struct input_dev *inputdev; |
438 | struct cmpc_accel *accel; | 438 | struct cmpc_accel *accel; |
@@ -668,7 +668,7 @@ failed_file: | |||
668 | return error; | 668 | return error; |
669 | } | 669 | } |
670 | 670 | ||
671 | static int cmpc_accel_remove(struct acpi_device *acpi, int type) | 671 | static int cmpc_accel_remove(struct acpi_device *acpi) |
672 | { | 672 | { |
673 | struct input_dev *inputdev; | 673 | struct input_dev *inputdev; |
674 | struct cmpc_accel *accel; | 674 | struct cmpc_accel *accel; |
@@ -753,7 +753,7 @@ static int cmpc_tablet_add(struct acpi_device *acpi) | |||
753 | cmpc_tablet_idev_init); | 753 | cmpc_tablet_idev_init); |
754 | } | 754 | } |
755 | 755 | ||
756 | static int cmpc_tablet_remove(struct acpi_device *acpi, int type) | 756 | static int cmpc_tablet_remove(struct acpi_device *acpi) |
757 | { | 757 | { |
758 | return cmpc_remove_acpi_notify_device(acpi); | 758 | return cmpc_remove_acpi_notify_device(acpi); |
759 | } | 759 | } |
@@ -1000,7 +1000,7 @@ out_bd: | |||
1000 | return retval; | 1000 | return retval; |
1001 | } | 1001 | } |
1002 | 1002 | ||
1003 | static int cmpc_ipml_remove(struct acpi_device *acpi, int type) | 1003 | static int cmpc_ipml_remove(struct acpi_device *acpi) |
1004 | { | 1004 | { |
1005 | struct ipml200_dev *ipml; | 1005 | struct ipml200_dev *ipml; |
1006 | 1006 | ||
@@ -1079,7 +1079,7 @@ static int cmpc_keys_add(struct acpi_device *acpi) | |||
1079 | cmpc_keys_idev_init); | 1079 | cmpc_keys_idev_init); |
1080 | } | 1080 | } |
1081 | 1081 | ||
1082 | static int cmpc_keys_remove(struct acpi_device *acpi, int type) | 1082 | static int cmpc_keys_remove(struct acpi_device *acpi) |
1083 | { | 1083 | { |
1084 | return cmpc_remove_acpi_notify_device(acpi); | 1084 | return cmpc_remove_acpi_notify_device(acpi); |
1085 | } | 1085 | } |
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index a5da0b594f71..5d26e70bed6c 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -1501,7 +1501,7 @@ fail_platform: | |||
1501 | return result; | 1501 | return result; |
1502 | } | 1502 | } |
1503 | 1503 | ||
1504 | static int eeepc_acpi_remove(struct acpi_device *device, int type) | 1504 | static int eeepc_acpi_remove(struct acpi_device *device) |
1505 | { | 1505 | { |
1506 | struct eeepc_laptop *eeepc = acpi_driver_data(device); | 1506 | struct eeepc_laptop *eeepc = acpi_driver_data(device); |
1507 | 1507 | ||
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index c4c1a5444b38..1c9386e7c58c 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -733,7 +733,7 @@ err_stop: | |||
733 | return result; | 733 | return result; |
734 | } | 734 | } |
735 | 735 | ||
736 | static int acpi_fujitsu_remove(struct acpi_device *device, int type) | 736 | static int acpi_fujitsu_remove(struct acpi_device *device) |
737 | { | 737 | { |
738 | struct fujitsu_t *fujitsu = acpi_driver_data(device); | 738 | struct fujitsu_t *fujitsu = acpi_driver_data(device); |
739 | struct input_dev *input = fujitsu->input; | 739 | struct input_dev *input = fujitsu->input; |
@@ -938,7 +938,7 @@ err_stop: | |||
938 | return result; | 938 | return result; |
939 | } | 939 | } |
940 | 940 | ||
941 | static int acpi_fujitsu_hotkey_remove(struct acpi_device *device, int type) | 941 | static int acpi_fujitsu_hotkey_remove(struct acpi_device *device) |
942 | { | 942 | { |
943 | struct fujitsu_hotkey_t *fujitsu_hotkey = acpi_driver_data(device); | 943 | struct fujitsu_hotkey_t *fujitsu_hotkey = acpi_driver_data(device); |
944 | struct input_dev *input = fujitsu_hotkey->input; | 944 | struct input_dev *input = fujitsu_hotkey->input; |
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c index 174ca01c4aa7..570926c10014 100644 --- a/drivers/platform/x86/fujitsu-tablet.c +++ b/drivers/platform/x86/fujitsu-tablet.c | |||
@@ -431,7 +431,7 @@ static int acpi_fujitsu_add(struct acpi_device *adev) | |||
431 | return 0; | 431 | return 0; |
432 | } | 432 | } |
433 | 433 | ||
434 | static int acpi_fujitsu_remove(struct acpi_device *adev, int type) | 434 | static int acpi_fujitsu_remove(struct acpi_device *adev) |
435 | { | 435 | { |
436 | free_irq(fujitsu.irq, fujitsu_interrupt); | 436 | free_irq(fujitsu.irq, fujitsu_interrupt); |
437 | release_region(fujitsu.io_base, fujitsu.io_length); | 437 | release_region(fujitsu.io_base, fujitsu.io_length); |
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c index 18d74f29dcb2..e64a7a870d42 100644 --- a/drivers/platform/x86/hp_accel.c +++ b/drivers/platform/x86/hp_accel.c | |||
@@ -337,7 +337,7 @@ static int lis3lv02d_add(struct acpi_device *device) | |||
337 | return ret; | 337 | return ret; |
338 | } | 338 | } |
339 | 339 | ||
340 | static int lis3lv02d_remove(struct acpi_device *device, int type) | 340 | static int lis3lv02d_remove(struct acpi_device *device) |
341 | { | 341 | { |
342 | if (!device) | 342 | if (!device) |
343 | return -EINVAL; | 343 | return -EINVAL; |
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 64bfb30a52e9..17f00b8dc5cb 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c | |||
@@ -834,7 +834,7 @@ platform_failed: | |||
834 | return ret; | 834 | return ret; |
835 | } | 835 | } |
836 | 836 | ||
837 | static int ideapad_acpi_remove(struct acpi_device *adevice, int type) | 837 | static int ideapad_acpi_remove(struct acpi_device *adevice) |
838 | { | 838 | { |
839 | struct ideapad_private *priv = dev_get_drvdata(&adevice->dev); | 839 | struct ideapad_private *priv = dev_get_drvdata(&adevice->dev); |
840 | int i; | 840 | int i; |
diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c index 3271ac85115e..d6cfc1558c2f 100644 --- a/drivers/platform/x86/intel_menlow.c +++ b/drivers/platform/x86/intel_menlow.c | |||
@@ -200,7 +200,7 @@ static int intel_menlow_memory_add(struct acpi_device *device) | |||
200 | 200 | ||
201 | } | 201 | } |
202 | 202 | ||
203 | static int intel_menlow_memory_remove(struct acpi_device *device, int type) | 203 | static int intel_menlow_memory_remove(struct acpi_device *device) |
204 | { | 204 | { |
205 | struct thermal_cooling_device *cdev = acpi_driver_data(device); | 205 | struct thermal_cooling_device *cdev = acpi_driver_data(device); |
206 | 206 | ||
diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index 8e8caa767d6a..4add9a31bf60 100644 --- a/drivers/platform/x86/panasonic-laptop.c +++ b/drivers/platform/x86/panasonic-laptop.c | |||
@@ -176,7 +176,7 @@ enum SINF_BITS { SINF_NUM_BATTERIES = 0, | |||
176 | /* R1 handles SINF_AC_CUR_BRIGHT as SINF_CUR_BRIGHT, doesn't know AC state */ | 176 | /* R1 handles SINF_AC_CUR_BRIGHT as SINF_CUR_BRIGHT, doesn't know AC state */ |
177 | 177 | ||
178 | static int acpi_pcc_hotkey_add(struct acpi_device *device); | 178 | static int acpi_pcc_hotkey_add(struct acpi_device *device); |
179 | static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type); | 179 | static int acpi_pcc_hotkey_remove(struct acpi_device *device); |
180 | static void acpi_pcc_hotkey_notify(struct acpi_device *device, u32 event); | 180 | static void acpi_pcc_hotkey_notify(struct acpi_device *device, u32 event); |
181 | 181 | ||
182 | static const struct acpi_device_id pcc_device_ids[] = { | 182 | static const struct acpi_device_id pcc_device_ids[] = { |
@@ -663,7 +663,7 @@ static int __init acpi_pcc_init(void) | |||
663 | return 0; | 663 | return 0; |
664 | } | 664 | } |
665 | 665 | ||
666 | static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type) | 666 | static int acpi_pcc_hotkey_remove(struct acpi_device *device) |
667 | { | 667 | { |
668 | struct pcc_acpi *pcc = acpi_driver_data(device); | 668 | struct pcc_acpi *pcc = acpi_driver_data(device); |
669 | 669 | ||
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index b8ad71f7863f..ceb41eff4230 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -2740,7 +2740,7 @@ outwalk: | |||
2740 | return result; | 2740 | return result; |
2741 | } | 2741 | } |
2742 | 2742 | ||
2743 | static int sony_nc_remove(struct acpi_device *device, int type) | 2743 | static int sony_nc_remove(struct acpi_device *device) |
2744 | { | 2744 | { |
2745 | struct sony_nc_value *item; | 2745 | struct sony_nc_value *item; |
2746 | 2746 | ||
@@ -4111,7 +4111,7 @@ found: | |||
4111 | * ACPI driver | 4111 | * ACPI driver |
4112 | * | 4112 | * |
4113 | *****************/ | 4113 | *****************/ |
4114 | static int sony_pic_remove(struct acpi_device *device, int type) | 4114 | static int sony_pic_remove(struct acpi_device *device) |
4115 | { | 4115 | { |
4116 | struct sony_pic_ioport *io, *tmp_io; | 4116 | struct sony_pic_ioport *io, *tmp_io; |
4117 | struct sony_pic_irq *irq, *tmp_irq; | 4117 | struct sony_pic_irq *irq, *tmp_irq; |
diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/platform/x86/topstar-laptop.c index d727bfee89a6..4ab618c63b45 100644 --- a/drivers/platform/x86/topstar-laptop.c +++ b/drivers/platform/x86/topstar-laptop.c | |||
@@ -157,7 +157,7 @@ add_err: | |||
157 | return -ENODEV; | 157 | return -ENODEV; |
158 | } | 158 | } |
159 | 159 | ||
160 | static int acpi_topstar_remove(struct acpi_device *device, int type) | 160 | static int acpi_topstar_remove(struct acpi_device *device) |
161 | { | 161 | { |
162 | struct topstar_hkey *tps_hkey = acpi_driver_data(device); | 162 | struct topstar_hkey *tps_hkey = acpi_driver_data(device); |
163 | 163 | ||
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index c2727895794c..904476b2fa8f 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
@@ -1118,7 +1118,7 @@ static int toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev) | |||
1118 | return 0; | 1118 | return 0; |
1119 | } | 1119 | } |
1120 | 1120 | ||
1121 | static int toshiba_acpi_remove(struct acpi_device *acpi_dev, int type) | 1121 | static int toshiba_acpi_remove(struct acpi_device *acpi_dev) |
1122 | { | 1122 | { |
1123 | struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); | 1123 | struct toshiba_acpi_dev *dev = acpi_driver_data(acpi_dev); |
1124 | 1124 | ||
@@ -1250,7 +1250,7 @@ static int toshiba_acpi_add(struct acpi_device *acpi_dev) | |||
1250 | return 0; | 1250 | return 0; |
1251 | 1251 | ||
1252 | error: | 1252 | error: |
1253 | toshiba_acpi_remove(acpi_dev, 0); | 1253 | toshiba_acpi_remove(acpi_dev); |
1254 | return ret; | 1254 | return ret; |
1255 | } | 1255 | } |
1256 | 1256 | ||
diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index e95be0b74859..74dd01ae343b 100644 --- a/drivers/platform/x86/toshiba_bluetooth.c +++ b/drivers/platform/x86/toshiba_bluetooth.c | |||
@@ -32,7 +32,7 @@ MODULE_LICENSE("GPL"); | |||
32 | 32 | ||
33 | 33 | ||
34 | static int toshiba_bt_rfkill_add(struct acpi_device *device); | 34 | static int toshiba_bt_rfkill_add(struct acpi_device *device); |
35 | static int toshiba_bt_rfkill_remove(struct acpi_device *device, int type); | 35 | static int toshiba_bt_rfkill_remove(struct acpi_device *device); |
36 | static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event); | 36 | static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event); |
37 | 37 | ||
38 | static const struct acpi_device_id bt_device_ids[] = { | 38 | static const struct acpi_device_id bt_device_ids[] = { |
@@ -122,7 +122,7 @@ static int toshiba_bt_rfkill_add(struct acpi_device *device) | |||
122 | return result; | 122 | return result; |
123 | } | 123 | } |
124 | 124 | ||
125 | static int toshiba_bt_rfkill_remove(struct acpi_device *device, int type) | 125 | static int toshiba_bt_rfkill_remove(struct acpi_device *device) |
126 | { | 126 | { |
127 | /* clean up */ | 127 | /* clean up */ |
128 | return 0; | 128 | return 0; |
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 42a4dcc25f92..e4ac38aca580 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
@@ -92,7 +92,7 @@ module_param(debug_dump_wdg, bool, 0444); | |||
92 | MODULE_PARM_DESC(debug_dump_wdg, | 92 | MODULE_PARM_DESC(debug_dump_wdg, |
93 | "Dump available WMI interfaces [0/1]"); | 93 | "Dump available WMI interfaces [0/1]"); |
94 | 94 | ||
95 | static int acpi_wmi_remove(struct acpi_device *device, int type); | 95 | static int acpi_wmi_remove(struct acpi_device *device); |
96 | static int acpi_wmi_add(struct acpi_device *device); | 96 | static int acpi_wmi_add(struct acpi_device *device); |
97 | static void acpi_wmi_notify(struct acpi_device *device, u32 event); | 97 | static void acpi_wmi_notify(struct acpi_device *device, u32 event); |
98 | 98 | ||
@@ -917,7 +917,7 @@ static void acpi_wmi_notify(struct acpi_device *device, u32 event) | |||
917 | } | 917 | } |
918 | } | 918 | } |
919 | 919 | ||
920 | static int acpi_wmi_remove(struct acpi_device *device, int type) | 920 | static int acpi_wmi_remove(struct acpi_device *device) |
921 | { | 921 | { |
922 | acpi_remove_address_space_handler(device->handle, | 922 | acpi_remove_address_space_handler(device->handle, |
923 | ACPI_ADR_SPACE_EC, &acpi_wmi_ec_space_handler); | 923 | ACPI_ADR_SPACE_EC, &acpi_wmi_ec_space_handler); |
diff --git a/drivers/platform/x86/xo15-ebook.c b/drivers/platform/x86/xo15-ebook.c index 16d340c3b852..4b1377bd5944 100644 --- a/drivers/platform/x86/xo15-ebook.c +++ b/drivers/platform/x86/xo15-ebook.c | |||
@@ -150,7 +150,7 @@ static int ebook_switch_add(struct acpi_device *device) | |||
150 | return error; | 150 | return error; |
151 | } | 151 | } |
152 | 152 | ||
153 | static int ebook_switch_remove(struct acpi_device *device, int type) | 153 | static int ebook_switch_remove(struct acpi_device *device) |
154 | { | 154 | { |
155 | struct ebook_switch *button = acpi_driver_data(device); | 155 | struct ebook_switch *button = acpi_driver_data(device); |
156 | 156 | ||