1
linux/drivers/platform/x86
Marco Chiappero 5fe801a742 sony-laptop: improve SNC initialization and acpi notify callback code
Loop through the list of SNC handles and run the proper initialization
function for each of the known handles. Also return void in function
where we are not checking the return value anyway.
For notifications we also know which handle is linked to the event and
the code becomes simpler to read with a switch rather than using
convoluted ifs.

[malattia@linux.it: Code reworked to merge the initialization code
improvements and the notify callback changes. Modified the code paths to
allow easier error exit paths.  Also fixed some missing break statements
and spelling mistakes.]

Signed-off-by: Marco Chiappero <marco@absence.it>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2012-05-31 14:29:34 -04:00
..
acer-wmi.c acer-wmi: add quirk table for video backlight vendor mode 2012-03-26 15:47:58 -04:00
acerhdf.c acerhdf: lowered default temp fanon/fanoff values 2012-04-25 21:26:34 -07:00
amilo-rfkill.c drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref 2012-03-26 15:45:32 -04:00
apple-gmux.c apple-gmux: Add suspend/resume support for the backlight 2012-05-31 14:23:39 -04:00
asus-laptop.c asus-laptop: add some keys found on Lenovo SL500 2012-03-20 12:02:18 -04:00
asus-nb-wmi.c asus-nb-wmi: set panel_power correctly 2012-03-26 15:05:46 -04:00
asus-wmi.c Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86 2012-03-28 14:20:23 -07:00
asus-wmi.h asus-wmi: move WAPF variable into quirks_entry 2012-03-26 15:05:44 -04:00
classmate-laptop.c
compal-laptop.c compal-laptop: switch to using use MODULE_DEVICE_TABLE 2012-03-20 12:02:01 -04:00
dell-laptop.c drivers/x86: mark const init data with __initconst instead of __initdata 2012-05-31 14:23:38 -04:00
dell-wmi-aio.c
dell-wmi.c
eeepc-laptop.c Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86 2012-03-28 14:20:23 -07:00
eeepc-wmi.c eeepc-wmi: split et2012 specific hacks 2012-03-26 15:05:49 -04:00
fujitsu-laptop.c Email/web address change 2012-03-28 10:35:15 +02:00
fujitsu-tablet.c fujitsu-tablet: correct quirks for Lifebook and Stylistic tablets 2012-05-31 14:23:39 -04:00
hdaps.c hdaps: Jesper Juhl: Fix outdated email address 2012-05-31 14:23:40 -04:00
hp_accel.c
hp-wmi.c hp-wmi: check for allocation failures 2012-05-31 14:29:33 -04:00
ibm_rtl.c
ideapad-laptop.c ideapad: generate valid key event only 2012-05-31 14:23:40 -04:00
intel_ips.c intel_ips: Hush the i915 symbols message 2012-04-17 09:31:33 -04:00
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c intel_mid_powerbtn: mark irq as IRQF_NO_SUSPEND 2012-05-04 14:40:52 -07:00
intel_mid_thermal.c Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86 2012-03-28 14:20:23 -07:00
intel_oaktrail.c intel-oaktrail: switch to using use MODULE_DEVICE_TABLE 2012-03-20 12:02:02 -04:00
intel_pmic_gpio.c
intel_scu_ipc.c intel_scu_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
intel_scu_ipcutil.c intel_scu_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
Kconfig acer-wmi: add quirk table for video backlight vendor mode 2012-03-26 15:47:58 -04:00
Makefile platform/x86: Add driver for Apple gmux device 2012-03-26 15:05:25 -04:00
msi-laptop.c
msi-wmi.c
mxm-wmi.c
panasonic-laptop.c panasonic-laptop: avoid overflow in acpi_pcc_hotkey_add() 2012-03-12 10:25:51 -04:00
samsung-laptop.c samsung-laptop: unregister ACPI video module for some well known laptops 2012-03-26 15:45:25 -04:00
samsung-q10.c
sony-laptop.c sony-laptop: improve SNC initialization and acpi notify callback code 2012-05-31 14:29:34 -04:00
tc1100-wmi.c
thinkpad_acpi.c thinkpad-acpi: fix issuing duplicated key events for brightness up/down 2012-05-31 14:23:39 -04:00
topstar-laptop.c
toshiba_acpi.c toshiba_acpi: Add support for transflective LCD 2012-05-31 14:26:39 -04:00
toshiba_bluetooth.c
wmi.c
xo1-rfkill.c xo1-rfkill: only act when blocked state is changed 2012-05-31 14:23:39 -04:00
xo15-ebook.c