|
@@ -6313,7 +6313,7 @@ static int brightness_write(char *buf)
|
|
* Doing it this way makes the syscall restartable in case of EINTR
|
|
* Doing it this way makes the syscall restartable in case of EINTR
|
|
*/
|
|
*/
|
|
rc = brightness_set(level);
|
|
rc = brightness_set(level);
|
|
- return (rc == -EINTR)? ERESTARTSYS : rc;
|
|
|
|
|
|
+ return (rc == -EINTR)? -ERESTARTSYS : rc;
|
|
}
|
|
}
|
|
|
|
|
|
static struct ibm_struct brightness_driver_data = {
|
|
static struct ibm_struct brightness_driver_data = {
|