aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/sony-laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 5837156f09fd..011c03596b2c 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -865,7 +865,7 @@ struct sony_nc_event {
865static struct sony_nc_event sony_100_events[] = { 865static struct sony_nc_event sony_100_events[] = {
866 { 0x90, SONYPI_EVENT_PKEY_P1 }, 866 { 0x90, SONYPI_EVENT_PKEY_P1 },
867 { 0x10, SONYPI_EVENT_ANYBUTTON_RELEASED }, 867 { 0x10, SONYPI_EVENT_ANYBUTTON_RELEASED },
868 { 0x91, SONYPI_EVENT_PKEY_P1 }, 868 { 0x91, SONYPI_EVENT_PKEY_P2 },
869 { 0x11, SONYPI_EVENT_ANYBUTTON_RELEASED }, 869 { 0x11, SONYPI_EVENT_ANYBUTTON_RELEASED },
870 { 0x81, SONYPI_EVENT_FNKEY_F1 }, 870 { 0x81, SONYPI_EVENT_FNKEY_F1 },
871 { 0x01, SONYPI_EVENT_FNKEY_RELEASED }, 871 { 0x01, SONYPI_EVENT_FNKEY_RELEASED },
@@ -929,7 +929,7 @@ static void sony_acpi_notify(acpi_handle handle, u32 event, void *data)
929 if (sony_find_snc_handle(0x127) == ev) 929 if (sony_find_snc_handle(0x127) == ev)
930 key_handle = 0x127; 930 key_handle = 0x127;
931 931
932 if (handle) { 932 if (key_handle) {
933 struct sony_nc_event *key_event; 933 struct sony_nc_event *key_event;
934 934
935 if (sony_call_snc_handle(key_handle, 0x200, &result)) 935 if (sony_call_snc_handle(key_handle, 0x200, &result))