diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 3541ca097d09..d93cff656c99 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -1041,7 +1041,7 @@ static int sony_nc_resume(struct acpi_device *device) | |||
1041 | 1041 | ||
1042 | /* set the last requested brightness level */ | 1042 | /* set the last requested brightness level */ |
1043 | if (sony_backlight_device && | 1043 | if (sony_backlight_device && |
1044 | !sony_backlight_update_status(sony_backlight_device)) | 1044 | sony_backlight_update_status(sony_backlight_device) < 0) |
1045 | printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n"); | 1045 | printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n"); |
1046 | 1046 | ||
1047 | return 0; | 1047 | return 0; |