diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index d93108d148fc..03c0a56f0c8c 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -6313,7 +6313,7 @@ static int brightness_write(char *buf) | |||
6313 | * Doing it this way makes the syscall restartable in case of EINTR | 6313 | * Doing it this way makes the syscall restartable in case of EINTR |
6314 | */ | 6314 | */ |
6315 | rc = brightness_set(level); | 6315 | rc = brightness_set(level); |
6316 | return (rc == -EINTR)? ERESTARTSYS : rc; | 6316 | return (rc == -EINTR)? -ERESTARTSYS : rc; |
6317 | } | 6317 | } |
6318 | 6318 | ||
6319 | static struct ibm_struct brightness_driver_data = { | 6319 | static struct ibm_struct brightness_driver_data = { |